generated/api/Models/BackupDestinationAssociationsResp.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;

    public partial class BackupDestinationAssociationsResp :
        Commvault.Powershell.Models.IBackupDestinationAssociationsResp,
        Commvault.Powershell.Models.IBackupDestinationAssociationsRespInternal
    {

        /// <summary>Backing field for <see cref="Associations" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.ISubclientAssociation> _associations;

        /// <summary>
        /// List all the entities of backupdestination.It includes all the server/server groups which can be picked for auxcopy, as
        /// well as all the included and excluded entities.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<Commvault.Powershell.Models.ISubclientAssociation> Associations { get => this._associations; set => this._associations = value; }

        /// <summary>Backing field for <see cref="AuxCopyAssociations" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.ISubclientAssociation> _auxCopyAssociations;

        /// <summary>Summary of all the entities of backupdestination that will be auxcopied.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<Commvault.Powershell.Models.ISubclientAssociation> AuxCopyAssociations { get => this._auxCopyAssociations; set => this._auxCopyAssociations = value; }

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

        }
    }
    public partial interface IBackupDestinationAssociationsResp :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// List all the entities of backupdestination.It includes all the server/server groups which can be picked for auxcopy, as
        /// well as all the included and excluded entities.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"List all the entities of backupdestination.It includes all the server/server groups which can be picked for auxcopy, as well as all the included and excluded entities.",
        SerializedName = @"associations",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ISubclientAssociation) })]
        System.Collections.Generic.List<Commvault.Powershell.Models.ISubclientAssociation> Associations { get; set; }
        /// <summary>Summary of all the entities of backupdestination that will be auxcopied.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Summary of all the entities of backupdestination that will be auxcopied.",
        SerializedName = @"auxCopyAssociations",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ISubclientAssociation) })]
        System.Collections.Generic.List<Commvault.Powershell.Models.ISubclientAssociation> AuxCopyAssociations { get; set; }

    }
    internal partial interface IBackupDestinationAssociationsRespInternal

    {
        /// <summary>
        /// List all the entities of backupdestination.It includes all the server/server groups which can be picked for auxcopy, as
        /// well as all the included and excluded entities.
        /// </summary>
        System.Collections.Generic.List<Commvault.Powershell.Models.ISubclientAssociation> Associations { get; set; }
        /// <summary>Summary of all the entities of backupdestination that will be auxcopied.</summary>
        System.Collections.Generic.List<Commvault.Powershell.Models.ISubclientAssociation> AuxCopyAssociations { get; set; }

    }
}