generated/api/Models/DeactivationOptions.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; public partial class DeactivationOptions : Commvault.Powershell.Models.IDeactivationOptions, Commvault.Powershell.Models.IDeactivationOptionsInternal { /// <summary>Backing field for <see cref="DisableBackup" /> property.</summary> private bool? _disableBackup; /// <summary> /// Enable or disable backup. This option can only be set or unset for a deactivated company. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? DisableBackup { get => this._disableBackup; set => this._disableBackup = value; } /// <summary>Backing field for <see cref="DisableLogin" /> property.</summary> private bool? _disableLogin; /// <summary> /// Enable or disable login. This option can only be set or unset for a deactivated company. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? DisableLogin { get => this._disableLogin; set => this._disableLogin = value; } /// <summary>Backing field for <see cref="DisableRestore" /> property.</summary> private bool? _disableRestore; /// <summary> /// Enable or disable restore. This option can only be set or unset for a deactivated company. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? DisableRestore { get => this._disableRestore; set => this._disableRestore = value; } /// <summary>Creates an new <see cref="DeactivationOptions" /> instance.</summary> public DeactivationOptions() { } } public partial interface IDeactivationOptions : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary> /// Enable or disable backup. This option can only be set or unset for a deactivated company. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Enable or disable backup. This option can only be set or unset for a deactivated company.", SerializedName = @"disableBackup", PossibleTypes = new [] { typeof(bool) })] bool? DisableBackup { get; set; } /// <summary> /// Enable or disable login. This option can only be set or unset for a deactivated company. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Enable or disable login. This option can only be set or unset for a deactivated company.", SerializedName = @"disableLogin", PossibleTypes = new [] { typeof(bool) })] bool? DisableLogin { get; set; } /// <summary> /// Enable or disable restore. This option can only be set or unset for a deactivated company. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Enable or disable restore. This option can only be set or unset for a deactivated company.", SerializedName = @"disableRestore", PossibleTypes = new [] { typeof(bool) })] bool? DisableRestore { get; set; } } internal partial interface IDeactivationOptionsInternal { /// <summary> /// Enable or disable backup. This option can only be set or unset for a deactivated company. /// </summary> bool? DisableBackup { get; set; } /// <summary> /// Enable or disable login. This option can only be set or unset for a deactivated company. /// </summary> bool? DisableLogin { get; set; } /// <summary> /// Enable or disable restore. This option can only be set or unset for a deactivated company. /// </summary> bool? DisableRestore { get; set; } } } |