generated/api/Models/FailoverGroupsList.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>The list of all failover groups</summary>
    public partial class FailoverGroupsList :
        Commvault.Powershell.Models.IFailoverGroupsList,
        Commvault.Powershell.Models.IFailoverGroupsListInternal
    {

        /// <summary>Backing field for <see cref="FailoverGroups" /> property.</summary>
        private Commvault.Powershell.Models.IFailoverGroupSummary[] _failoverGroups;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IFailoverGroupSummary[] FailoverGroups { get => this._failoverGroups; set => this._failoverGroups = value; }

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

        }
    }
    /// The list of all failover groups
    public partial interface IFailoverGroupsList :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"failoverGroups",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IFailoverGroupSummary) })]
        Commvault.Powershell.Models.IFailoverGroupSummary[] FailoverGroups { get; set; }

    }
    /// The list of all failover groups
    internal partial interface IFailoverGroupsListInternal

    {
        Commvault.Powershell.Models.IFailoverGroupSummary[] FailoverGroups { get; set; }

    }
}