generated/api/Models/GetClusterResp.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>List of all Kubernetes Clusters</summary>
    public partial class GetClusterResp :
        Commvault.Powershell.Models.IGetClusterResp,
        Commvault.Powershell.Models.IGetClusterRespInternal
    {

        /// <summary>Backing field for <see cref="ClusterCount" /> property.</summary>
        private long? _clusterCount;

        /// <summary>Total number of clusters</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ClusterCount { get => this._clusterCount; set => this._clusterCount = value; }

        /// <summary>Backing field for <see cref="Clusters" /> property.</summary>
        private Commvault.Powershell.Models.IKubernetesClusterItem[] _clusters;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IKubernetesClusterItem[] Clusters { get => this._clusters; set => this._clusters = value; }

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

        }
    }
    /// List of all Kubernetes Clusters
    public partial interface IGetClusterResp :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Total number of clusters</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Total number of clusters",
        SerializedName = @"clusterCount",
        PossibleTypes = new [] { typeof(long) })]
        long? ClusterCount { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"clusters",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IKubernetesClusterItem) })]
        Commvault.Powershell.Models.IKubernetesClusterItem[] Clusters { get; set; }

    }
    /// List of all Kubernetes Clusters
    internal partial interface IGetClusterRespInternal

    {
        /// <summary>Total number of clusters</summary>
        long? ClusterCount { get; set; }

        Commvault.Powershell.Models.IKubernetesClusterItem[] Clusters { get; set; }

    }
}