generated/api/Models/FailoverGroupSummary.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>Failover groups summary</summary> public partial class FailoverGroupSummary : Commvault.Powershell.Models.IFailoverGroupSummary, Commvault.Powershell.Models.IFailoverGroupSummaryInternal { /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>Failover group ID</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>Failover group name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="NumberOfVirtualMachines" /> property.</summary> private long? _numberOfVirtualMachines; /// <summary>The number of VM pairs of failover groups</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? NumberOfVirtualMachines { get => this._numberOfVirtualMachines; set => this._numberOfVirtualMachines = value; } /// <summary>Backing field for <see cref="Source" /> property.</summary> private string _source; /// <summary>Failover group type</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Source { get => this._source; set => this._source = value; } /// <summary>Creates an new <see cref="FailoverGroupSummary" /> instance.</summary> public FailoverGroupSummary() { } } /// Failover groups summary public partial interface IFailoverGroupSummary : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Failover group ID</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Failover group ID", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>Failover group name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Failover group name", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// <summary>The number of VM pairs of failover groups</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"The number of VM pairs of failover groups", SerializedName = @"numberOfVirtualMachines", PossibleTypes = new [] { typeof(long) })] long? NumberOfVirtualMachines { get; set; } /// <summary>Failover group type</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Failover group type", SerializedName = @"source", PossibleTypes = new [] { typeof(string) })] string Source { get; set; } } /// Failover groups summary internal partial interface IFailoverGroupSummaryInternal { /// <summary>Failover group ID</summary> long? Id { get; set; } /// <summary>Failover group name</summary> string Name { get; set; } /// <summary>The number of VM pairs of failover groups</summary> long? NumberOfVirtualMachines { get; set; } /// <summary>Failover group type</summary> string Source { get; set; } } } |