generated/api/Models/UpdateBackupDestinationAssociationsReq.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 UpdateBackupDestinationAssociationsReq : Commvault.Powershell.Models.IUpdateBackupDestinationAssociationsReq, Commvault.Powershell.Models.IUpdateBackupDestinationAssociationsReqInternal { /// <summary>Backing field for <see cref="Associations" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.ISubclientAssociation> _associations; /// <summary>List of selected/excluded entities to be associated with backup destination.</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="UpdateApplicableForFutureJobs" /> property.</summary> private bool? _updateApplicableForFutureJobs; /// <summary>If set to true, then only future jobs will honour this update.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? UpdateApplicableForFutureJobs { get => this._updateApplicableForFutureJobs; set => this._updateApplicableForFutureJobs = value; } /// <summary>Creates an new <see cref="UpdateBackupDestinationAssociationsReq" /> instance.</summary> public UpdateBackupDestinationAssociationsReq() { } } public partial interface IUpdateBackupDestinationAssociationsReq : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>List of selected/excluded entities to be associated with backup destination.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"List of selected/excluded entities to be associated with backup destination.", SerializedName = @"associations", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ISubclientAssociation) })] System.Collections.Generic.List<Commvault.Powershell.Models.ISubclientAssociation> Associations { get; set; } /// <summary>If set to true, then only future jobs will honour this update.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"If set to true, then only future jobs will honour this update.", SerializedName = @"updateApplicableForFutureJobs", PossibleTypes = new [] { typeof(bool) })] bool? UpdateApplicableForFutureJobs { get; set; } } internal partial interface IUpdateBackupDestinationAssociationsReqInternal { /// <summary>List of selected/excluded entities to be associated with backup destination.</summary> System.Collections.Generic.List<Commvault.Powershell.Models.ISubclientAssociation> Associations { get; set; } /// <summary>If set to true, then only future jobs will honour this update.</summary> bool? UpdateApplicableForFutureJobs { get; set; } } } |