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