generated/api/Models/KubernetesApplicationGroupContentItem.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415)
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Commvault.Powershell.Models
{
    using static Commvault.Powershell.Runtime.Extensions;

    /// <summary>Item to describe the applications and label selectors</summary>
    public partial class KubernetesApplicationGroupContentItem :
        Commvault.Powershell.Models.IKubernetesApplicationGroupContentItem,
        Commvault.Powershell.Models.IKubernetesApplicationGroupContentItemInternal
    {

        /// <summary>Backing field for <see cref="Applications" /> property.</summary>
        private Commvault.Powershell.Models.IKubernetesContentApplications[] _applications;

        /// <summary>List of applications to be added as content</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IKubernetesContentApplications[] Applications { get => this._applications; set => this._applications = value; }

        /// <summary>Backing field for <see cref="LabelSelectors" /> property.</summary>
        private Commvault.Powershell.Models.IKubernetesContentSelectors[] _labelSelectors;

        /// <summary>List of label selectors to be added as content</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IKubernetesContentSelectors[] LabelSelectors { get => this._labelSelectors; set => this._labelSelectors = value; }

        /// <summary>Creates an new <see cref="KubernetesApplicationGroupContentItem" /> instance.</summary>
        public KubernetesApplicationGroupContentItem()
        {

        }
    }
    /// Item to describe the applications and label selectors
    public partial interface IKubernetesApplicationGroupContentItem :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>List of applications to be added as content</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"List of applications to be added as content",
        SerializedName = @"applications",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IKubernetesContentApplications) })]
        Commvault.Powershell.Models.IKubernetesContentApplications[] Applications { get; set; }
        /// <summary>List of label selectors to be added as content</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"List of label selectors to be added as content",
        SerializedName = @"labelSelectors",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IKubernetesContentSelectors) })]
        Commvault.Powershell.Models.IKubernetesContentSelectors[] LabelSelectors { get; set; }

    }
    /// Item to describe the applications and label selectors
    internal partial interface IKubernetesApplicationGroupContentItemInternal

    {
        /// <summary>List of applications to be added as content</summary>
        Commvault.Powershell.Models.IKubernetesContentApplications[] Applications { get; set; }
        /// <summary>List of label selectors to be added as content</summary>
        Commvault.Powershell.Models.IKubernetesContentSelectors[] LabelSelectors { get; set; }

    }
}