generated/api/Models/KubernetesApplicationGroupContentItem.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708)
// 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 System.Collections.Generic.List<Commvault.Powershell.Models.IKubernetesContentApplications> _applications;

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

        /// <summary>Backing field for <see cref="LabelSelectors" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.IKubernetesContentSelectors> _labelSelectors;

        /// <summary>List of label selectors to be added as content</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<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,
        Read = true,
        Create = true,
        Update = true,
        Description = @"List of applications to be added as content",
        SerializedName = @"applications",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IKubernetesContentApplications) })]
        System.Collections.Generic.List<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,
        Read = true,
        Create = true,
        Update = true,
        Description = @"List of label selectors to be added as content",
        SerializedName = @"labelSelectors",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IKubernetesContentSelectors) })]
        System.Collections.Generic.List<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>
        System.Collections.Generic.List<Commvault.Powershell.Models.IKubernetesContentApplications> Applications { get; set; }
        /// <summary>List of label selectors to be added as content</summary>
        System.Collections.Generic.List<Commvault.Powershell.Models.IKubernetesContentSelectors> LabelSelectors { get; set; }

    }
}