generated/api/Models/Status.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 Status : Commvault.Powershell.Models.IStatus, Commvault.Powershell.Models.IStatusInternal { /// <summary>Backing field for <see cref="Enable" /> property.</summary> private bool? _enable; /// <summary>Tells if library is enabled or not</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? Enable { get => this._enable; set => this._enable = value; } /// <summary>Backing field for <see cref="MaintenanceMode" /> property.</summary> private bool? _maintenanceMode; /// <summary>library maintenance mode.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? MaintenanceMode { get => this._maintenanceMode; set => this._maintenanceMode = value; } /// <summary>Backing field for <see cref="OfflineReason" /> property.</summary> private string _offlineReason; /// <summary>library offline reason.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string OfflineReason { get => this._offlineReason; set => this._offlineReason = value; } /// <summary>Creates an new <see cref="Status" /> instance.</summary> public Status() { } } public partial interface IStatus : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Tells if library is enabled or not</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Tells if library is enabled or not", SerializedName = @"enable", PossibleTypes = new [] { typeof(bool) })] bool? Enable { get; set; } /// <summary>library maintenance mode.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"library maintenance mode.", SerializedName = @"maintenanceMode", PossibleTypes = new [] { typeof(bool) })] bool? MaintenanceMode { get; set; } /// <summary>library offline reason.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"library offline reason.", SerializedName = @"offlineReason", PossibleTypes = new [] { typeof(string) })] string OfflineReason { get; set; } } internal partial interface IStatusInternal { /// <summary>Tells if library is enabled or not</summary> bool? Enable { get; set; } /// <summary>library maintenance mode.</summary> bool? MaintenanceMode { get; set; } /// <summary>library offline reason.</summary> string OfflineReason { get; set; } } } |