generated/api/Models/EditClusterActivityControlOptions.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; /// <summary>Request definition changing activity control options for cluster</summary> public partial class EditClusterActivityControlOptions : Commvault.Powershell.Models.IEditClusterActivityControlOptions, Commvault.Powershell.Models.IEditClusterActivityControlOptionsInternal { /// <summary>Backing field for <see cref="EnableBackup" /> property.</summary> private bool? _enableBackup; /// <summary>Enable or disable backup for cluster</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? EnableBackup { get => this._enableBackup; set => this._enableBackup = value; } /// <summary>Backing field for <see cref="EnableBackupAfterADelay" /> property.</summary> private long? _enableBackupAfterADelay; /// <summary>Enabling backup after a delay. Provide UTC Time in Unix format</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? EnableBackupAfterADelay { get => this._enableBackupAfterADelay; set => this._enableBackupAfterADelay = value; } /// <summary>Backing field for <see cref="EnableRestore" /> property.</summary> private bool? _enableRestore; /// <summary>Enable or disable restore for cluster</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? EnableRestore { get => this._enableRestore; set => this._enableRestore = value; } /// <summary>Backing field for <see cref="EnableRestoreAfterADelay" /> property.</summary> private long? _enableRestoreAfterADelay; /// <summary>Enabling restore after a delay. Provide UTC Time in Unix format</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? EnableRestoreAfterADelay { get => this._enableRestoreAfterADelay; set => this._enableRestoreAfterADelay = value; } /// <summary>Creates an new <see cref="EditClusterActivityControlOptions" /> instance.</summary> public EditClusterActivityControlOptions() { } } /// Request definition changing activity control options for cluster public partial interface IEditClusterActivityControlOptions : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Enable or disable backup for cluster</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Enable or disable backup for cluster", SerializedName = @"enableBackup", PossibleTypes = new [] { typeof(bool) })] bool? EnableBackup { get; set; } /// <summary>Enabling backup after a delay. Provide UTC Time in Unix format</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Enabling backup after a delay. Provide UTC Time in Unix format", SerializedName = @"enableBackupAfterADelay", PossibleTypes = new [] { typeof(long) })] long? EnableBackupAfterADelay { get; set; } /// <summary>Enable or disable restore for cluster</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Enable or disable restore for cluster", SerializedName = @"enableRestore", PossibleTypes = new [] { typeof(bool) })] bool? EnableRestore { get; set; } /// <summary>Enabling restore after a delay. Provide UTC Time in Unix format</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Enabling restore after a delay. Provide UTC Time in Unix format", SerializedName = @"enableRestoreAfterADelay", PossibleTypes = new [] { typeof(long) })] long? EnableRestoreAfterADelay { get; set; } } /// Request definition changing activity control options for cluster internal partial interface IEditClusterActivityControlOptionsInternal { /// <summary>Enable or disable backup for cluster</summary> bool? EnableBackup { get; set; } /// <summary>Enabling backup after a delay. Provide UTC Time in Unix format</summary> long? EnableBackupAfterADelay { get; set; } /// <summary>Enable or disable restore for cluster</summary> bool? EnableRestore { get; set; } /// <summary>Enabling restore after a delay. Provide UTC Time in Unix format</summary> long? EnableRestoreAfterADelay { get; set; } } } |