generated/api/Models/ApplicationSummaryInfo.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>Application Summary Info</summary> public partial class ApplicationSummaryInfo : Commvault.Powershell.Models.IApplicationSummaryInfo, Commvault.Powershell.Models.IApplicationSummaryInfoInternal { /// <summary>Backing field for <see cref="ApplicationGroup" /> property.</summary> private Commvault.Powershell.Models.IIdName _applicationGroup; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IIdName ApplicationGroup { get => (this._applicationGroup = this._applicationGroup ?? new Commvault.Powershell.Models.IdName()); set => this._applicationGroup = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? ApplicationGroupId { get => ((Commvault.Powershell.Models.IIdNameInternal)ApplicationGroup).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)ApplicationGroup).Id = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string ApplicationGroupName { get => ((Commvault.Powershell.Models.IIdNameInternal)ApplicationGroup).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)ApplicationGroup).Name = value ?? null; } /// <summary>Backing field for <see cref="ApplicationSize" /> property.</summary> private long? _applicationSize; /// <summary>Size of the application</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? ApplicationSize { get => this._applicationSize; set => this._applicationSize = value; } /// <summary>Backing field for <see cref="Cluster" /> property.</summary> private Commvault.Powershell.Models.IIdName _cluster; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IIdName Cluster { get => (this._cluster = this._cluster ?? new Commvault.Powershell.Models.IdName()); set => this._cluster = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? ClusterId { get => ((Commvault.Powershell.Models.IIdNameInternal)Cluster).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)Cluster).Id = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string ClusterName { get => ((Commvault.Powershell.Models.IIdNameInternal)Cluster).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)Cluster).Name = value ?? null; } /// <summary>Internal Acessors for ApplicationGroup</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IApplicationSummaryInfoInternal.ApplicationGroup { get => (this._applicationGroup = this._applicationGroup ?? new Commvault.Powershell.Models.IdName()); set { {_applicationGroup = value;} } } /// <summary>Internal Acessors for Cluster</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IApplicationSummaryInfoInternal.Cluster { get => (this._cluster = this._cluster ?? new Commvault.Powershell.Models.IdName()); set { {_cluster = value;} } } /// <summary>Internal Acessors for Company</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IApplicationSummaryInfoInternal.Company { get => (this._company = this._company ?? new Commvault.Powershell.Models.IdName()); set { {_company = value;} } } /// <summary>Internal Acessors for Plan</summary> Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IApplicationSummaryInfoInternal.Plan { get => (this._plan = this._plan ?? new Commvault.Powershell.Models.IdName()); set { {_plan = value;} } } /// <summary>Internal Acessors for Sla</summary> Commvault.Powershell.Models.IKubernetesSlaDetails Commvault.Powershell.Models.IApplicationSummaryInfoInternal.Sla { get => (this._sla = this._sla ?? new Commvault.Powershell.Models.KubernetesSlaDetails()); set { {_sla = value;} } } /// <summary>Backing field for <see cref="Company" /> property.</summary> private Commvault.Powershell.Models.IIdName _company; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IIdName Company { get => (this._company = this._company ?? new Commvault.Powershell.Models.IdName()); set => this._company = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? CompanyId { get => ((Commvault.Powershell.Models.IIdNameInternal)Company).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)Company).Id = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string CompanyName { get => ((Commvault.Powershell.Models.IIdNameInternal)Company).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)Company).Name = value ?? null; } /// <summary>Backing field for <see cref="Plan" /> property.</summary> private Commvault.Powershell.Models.IIdName _plan; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IIdName Plan { get => (this._plan = this._plan ?? new Commvault.Powershell.Models.IdName()); set => this._plan = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public long? PlanId { get => ((Commvault.Powershell.Models.IIdNameInternal)Plan).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)Plan).Id = value ?? default(long); } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string PlanName { get => ((Commvault.Powershell.Models.IIdNameInternal)Plan).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)Plan).Name = value ?? null; } /// <summary>Backing field for <see cref="ProvisionedSize" /> property.</summary> private long? _provisionedSize; /// <summary>Provisioned size of the volumes</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? ProvisionedSize { get => this._provisionedSize; set => this._provisionedSize = value; } /// <summary>Backing field for <see cref="Sla" /> property.</summary> private Commvault.Powershell.Models.IKubernetesSlaDetails _sla; /// <summary>SLA Details for a Kubernetes entity</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] internal Commvault.Powershell.Models.IKubernetesSlaDetails Sla { get => (this._sla = this._sla ?? new Commvault.Powershell.Models.KubernetesSlaDetails()); set => this._sla = value; } [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string SlaReason { get => ((Commvault.Powershell.Models.IKubernetesSlaDetailsInternal)Sla).Reason; set => ((Commvault.Powershell.Models.IKubernetesSlaDetailsInternal)Sla).Reason = value ?? null; } /// <summary>Provides the SLA status.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)] public string SlaStatus { get => ((Commvault.Powershell.Models.IKubernetesSlaDetailsInternal)Sla).Status; set => ((Commvault.Powershell.Models.IKubernetesSlaDetailsInternal)Sla).Status = value ?? null; } /// <summary>Backing field for <see cref="Status" /> property.</summary> private string _status; /// <summary>The status of the backup for the VM, instance, or container.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Status { get => this._status; set => this._status = value; } /// <summary>Creates an new <see cref="ApplicationSummaryInfo" /> instance.</summary> public ApplicationSummaryInfo() { } } /// Application Summary Info public partial interface IApplicationSummaryInfo : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? ApplicationGroupId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string ApplicationGroupName { get; set; } /// <summary>Size of the application</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Size of the application", SerializedName = @"applicationSize", PossibleTypes = new [] { typeof(long) })] long? ApplicationSize { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? ClusterId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string ClusterName { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? CompanyId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string CompanyName { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? PlanId { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string PlanName { get; set; } /// <summary>Provisioned size of the volumes</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Provisioned size of the volumes", SerializedName = @"provisionedSize", PossibleTypes = new [] { typeof(long) })] long? ProvisionedSize { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"reason", PossibleTypes = new [] { typeof(string) })] string SlaReason { get; set; } /// <summary>Provides the SLA status.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Provides the SLA status.", SerializedName = @"status", PossibleTypes = new [] { typeof(string) })] string SlaStatus { get; set; } /// <summary>The status of the backup for the VM, instance, or container.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"The status of the backup for the VM, instance, or container.", SerializedName = @"status", PossibleTypes = new [] { typeof(string) })] string Status { get; set; } } /// Application Summary Info internal partial interface IApplicationSummaryInfoInternal { Commvault.Powershell.Models.IIdName ApplicationGroup { get; set; } long? ApplicationGroupId { get; set; } string ApplicationGroupName { get; set; } /// <summary>Size of the application</summary> long? ApplicationSize { get; set; } Commvault.Powershell.Models.IIdName Cluster { get; set; } long? ClusterId { get; set; } string ClusterName { get; set; } Commvault.Powershell.Models.IIdName Company { get; set; } long? CompanyId { get; set; } string CompanyName { get; set; } Commvault.Powershell.Models.IIdName Plan { get; set; } long? PlanId { get; set; } string PlanName { get; set; } /// <summary>Provisioned size of the volumes</summary> long? ProvisionedSize { get; set; } /// <summary>SLA Details for a Kubernetes entity</summary> Commvault.Powershell.Models.IKubernetesSlaDetails Sla { get; set; } string SlaReason { get; set; } /// <summary>Provides the SLA status.</summary> string SlaStatus { get; set; } /// <summary>The status of the backup for the VM, instance, or container.</summary> string Status { get; set; } } } |