generated/api/Models/FailoverGroup.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.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>Failover group summary</summary>
    public partial class FailoverGroup :
        Commvault.Powershell.Models.IFailoverGroup,
        Commvault.Powershell.Models.IFailoverGroupInternal
    {

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

        [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>number of virtual machines</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 source name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Source { get => this._source; set => this._source = value; }

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

        }
    }
    /// Failover group summary
    public partial interface IFailoverGroup :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? Id { get; set; }
        /// <summary>Failover group name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Failover group name",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>number of virtual machines</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"number of virtual machines",
        SerializedName = @"numberOfVirtualMachines",
        PossibleTypes = new [] { typeof(long) })]
        long? NumberOfVirtualMachines { get; set; }
        /// <summary>Failover group source name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Failover group source name",
        SerializedName = @"source",
        PossibleTypes = new [] { typeof(string) })]
        string Source { get; set; }

    }
    /// Failover group summary
    internal partial interface IFailoverGroupInternal

    {
        long? Id { get; set; }
        /// <summary>Failover group name</summary>
        string Name { get; set; }
        /// <summary>number of virtual machines</summary>
        long? NumberOfVirtualMachines { get; set; }
        /// <summary>Failover group source name</summary>
        string Source { get; set; }

    }
}