generated/api/Models/KubernetesClusterItem.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; public partial class KubernetesClusterItem : Commvault.Powershell.Models.IKubernetesClusterItem, Commvault.Powershell.Models.IKubernetesClusterItemInternal { /// <summary>Backing field for <see cref="Commcell" /> property.</summary> private Commvault.Powershell.Models.ICommcellInfo _commcell; /// <summary>CommcellInfo</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.ICommcellInfo Commcell { get => (this._commcell = this._commcell ?? new Commvault.Powershell.Models.CommcellInfo()); set => this._commcell = value; } /// <summary>Name of the commcell the entity belongs to.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string CommcellName { get => ((Commvault.Powershell.Models.ICommcellInfoInternal)Commcell).Name; set => ((Commvault.Powershell.Models.ICommcellInfoInternal)Commcell).Name = value ?? null; } /// <summary>Internal Acessors for Commcell</summary> Commvault.Powershell.Models.ICommcellInfo Commvault.Powershell.Models.IKubernetesClusterItemInternal.Commcell { get => (this._commcell = this._commcell ?? new Commvault.Powershell.Models.CommcellInfo()); set { {_commcell = value;} } } /// <summary>Internal Acessors for Company</summary> Commvault.Powershell.Models.ICompanyInfo Commvault.Powershell.Models.IKubernetesClusterItemInternal.Company { get => (this._company = this._company ?? new Commvault.Powershell.Models.CompanyInfo()); set { {_company = value;} } } /// <summary>Internal Acessors for Instance</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IKubernetesClusterItemInternal.Instance { get => (this._instance = this._instance ?? new Commvault.Powershell.Models.IdName()); set { {_instance = value;} } } /// <summary>Backing field for <see cref="Company" /> property.</summary> private Commvault.Powershell.Models.ICompanyInfo _company; /// <summary>companyInfo</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.ICompanyInfo Company { get => (this._company = this._company ?? new Commvault.Powershell.Models.CompanyInfo()); set => this._company = value; } /// <summary>Id of company</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? CompanyId { get => ((Commvault.Powershell.Models.ICompanyInfoInternal)Company).Id; set => ((Commvault.Powershell.Models.ICompanyInfoInternal)Company).Id = value ?? default(long); } /// <summary>Multi Commcell Id of company</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? CompanyMultiCommcellId { get => ((Commvault.Powershell.Models.ICompanyInfoInternal)Company).MultiCommcellId; set => ((Commvault.Powershell.Models.ICompanyInfoInternal)Company).MultiCommcellId = value ?? default(long); } /// <summary>Name of company</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string CompanyName { get => ((Commvault.Powershell.Models.ICompanyInfoInternal)Company).Name; set => ((Commvault.Powershell.Models.ICompanyInfoInternal)Company).Name = value ?? null; } /// <summary>Backing field for <see cref="Configured" /> property.</summary> private bool? _configured; /// <summary>Denotes if the cluster is configured for backups or retired</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? Configured { get => this._configured; set => this._configured = value; } /// <summary>Backing field for <see cref="DisplayName" /> property.</summary> private string _displayName; /// <summary>Display name of the Kubernetes cluster</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DisplayName { get => this._displayName; set => this._displayName = value; } /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>ID of the Kubernetes cluster</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="Instance" /> property.</summary> private Commvault.Powershell.Models.IIdName _instance; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IIdName Instance { get => (this._instance = this._instance ?? new Commvault.Powershell.Models.IdName()); set => this._instance = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? InstanceId { get => ((Commvault.Powershell.Models.IIdNameInternal)Instance).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)Instance).Id = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string InstanceName { get => ((Commvault.Powershell.Models.IIdNameInternal)Instance).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)Instance).Name = value ?? null; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>Name of the Kubernetes cluster</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="Tags" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IIdNameValue> _tags; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IIdNameValue> Tags { get => this._tags; set => this._tags = value; } /// <summary>Backing field for <see cref="Version" /> property.</summary> private string _version; /// <summary>Kubernetes cluster version</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Version { get => this._version; set => this._version = value; } /// <summary>Creates an new <see cref="KubernetesClusterItem" /> instance.</summary> public KubernetesClusterItem() { } } public partial interface IKubernetesClusterItem : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Name of the commcell the entity belongs to.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of the commcell the entity belongs to.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string CommcellName { get; set; } /// <summary>Id of company</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Id of company", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? CompanyId { get; set; } /// <summary>Multi Commcell Id of company</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Multi Commcell Id of company", SerializedName = @"multiCommcellId", PossibleTypes = new [] { typeof(long) })] long? CompanyMultiCommcellId { get; set; } /// <summary>Name of company</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of company", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string CompanyName { get; set; } /// <summary>Denotes if the cluster is configured for backups or retired</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Denotes if the cluster is configured for backups or retired", SerializedName = @"configured", PossibleTypes = new [] { typeof(bool) })] bool? Configured { get; set; } /// <summary>Display name of the Kubernetes cluster</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Display name of the Kubernetes cluster", SerializedName = @"displayName", PossibleTypes = new [] { typeof(string) })] string DisplayName { get; set; } /// <summary>ID of the Kubernetes cluster</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"ID of the Kubernetes cluster", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? InstanceId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string InstanceName { get; set; } /// <summary>Name of the Kubernetes cluster</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of the Kubernetes cluster", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"tags", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdNameValue) })] System.Collections.Generic.List<Commvault.Powershell.Models.IIdNameValue> Tags { get; set; } /// <summary>Kubernetes cluster version</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Kubernetes cluster version", SerializedName = @"version", PossibleTypes = new [] { typeof(string) })] string Version { get; set; } } internal partial interface IKubernetesClusterItemInternal { /// <summary>CommcellInfo</summary> Commvault.Powershell.Models.ICommcellInfo Commcell { get; set; } /// <summary>Name of the commcell the entity belongs to.</summary> string CommcellName { get; set; } /// <summary>companyInfo</summary> Commvault.Powershell.Models.ICompanyInfo Company { get; set; } /// <summary>Id of company</summary> long? CompanyId { get; set; } /// <summary>Multi Commcell Id of company</summary> long? CompanyMultiCommcellId { get; set; } /// <summary>Name of company</summary> string CompanyName { get; set; } /// <summary>Denotes if the cluster is configured for backups or retired</summary> bool? Configured { get; set; } /// <summary>Display name of the Kubernetes cluster</summary> string DisplayName { get; set; } /// <summary>ID of the Kubernetes cluster</summary> long? Id { get; set; } Commvault.Powershell.Models.IIdName Instance { get; set; } long? InstanceId { get; set; } string InstanceName { get; set; } /// <summary>Name of the Kubernetes cluster</summary> string Name { get; set; } System.Collections.Generic.List<Commvault.Powershell.Models.IIdNameValue> Tags { get; set; } /// <summary>Kubernetes cluster version</summary> string Version { get; set; } } } |