generated/api/Models/FailoverGroupEligibleMachineList.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 machines that are eligible to be added to failover group</summary>
    public partial class FailoverGroupEligibleMachineList :
        Commvault.Powershell.Models.IFailoverGroupEligibleMachineList,
        Commvault.Powershell.Models.IFailoverGroupEligibleMachineListInternal
    {

        /// <summary>Backing field for <see cref="ArrayReplicationPairs" /> property.</summary>
        private Commvault.Powershell.Models.IFailoverGroupArrayReplicationPair[] _arrayReplicationPairs;

        /// <summary>
        /// List of all array replication pairs for failover group that are eligible to be added
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IFailoverGroupArrayReplicationPair[] ArrayReplicationPairs { get => this._arrayReplicationPairs; set => this._arrayReplicationPairs = value; }

        /// <summary>Backing field for <see cref="ReplicationPairs" /> property.</summary>
        private Commvault.Powershell.Models.IFailoverGroupReplicationPair[] _replicationPairs;

        /// <summary>
        /// The list of all replication pairs eligible to be added to failover group with replication source
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IFailoverGroupReplicationPair[] ReplicationPairs { get => this._replicationPairs; set => this._replicationPairs = value; }

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

        }
    }
    /// The list of all machines that are eligible to be added to failover group
    public partial interface IFailoverGroupEligibleMachineList :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// List of all array replication pairs for failover group that are eligible to be added
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"List of all array replication pairs for failover group that are eligible to be added",
        SerializedName = @"arrayReplicationPairs",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IFailoverGroupArrayReplicationPair) })]
        Commvault.Powershell.Models.IFailoverGroupArrayReplicationPair[] ArrayReplicationPairs { get; set; }
        /// <summary>
        /// The list of all replication pairs eligible to be added to failover group with replication source
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The list of all replication pairs eligible to be added to failover group with replication source",
        SerializedName = @"replicationPairs",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IFailoverGroupReplicationPair) })]
        Commvault.Powershell.Models.IFailoverGroupReplicationPair[] ReplicationPairs { get; set; }

    }
    /// The list of all machines that are eligible to be added to failover group
    internal partial interface IFailoverGroupEligibleMachineListInternal

    {
        /// <summary>
        /// List of all array replication pairs for failover group that are eligible to be added
        /// </summary>
        Commvault.Powershell.Models.IFailoverGroupArrayReplicationPair[] ArrayReplicationPairs { get; set; }
        /// <summary>
        /// The list of all replication pairs eligible to be added to failover group with replication source
        /// </summary>
        Commvault.Powershell.Models.IFailoverGroupReplicationPair[] ReplicationPairs { get; set; }

    }
}