generated/api/Models/ArrayLevel.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; /// <summary>Array detail template</summary> public partial class ArrayLevel : Commvault.Powershell.Models.IArrayLevel, Commvault.Powershell.Models.IArrayLevelInternal { /// <summary>Backing field for <see cref="AssocFlag" /> property.</summary> private bool? _assocFlag; /// <summary>Flag to check if the array is associated to the given client or subclient</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? AssocFlag { get => this._assocFlag; set => this._assocFlag = value; } /// <summary>Backing field for <see cref="ControlHost" /> property.</summary> private string _controlHost; /// <summary>Control host of the storage array</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string ControlHost { get => this._controlHost; set => this._controlHost = value; } /// <summary>Backing field for <see cref="Description" /> property.</summary> private string _description; /// <summary>description about the Storage Array</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Description { get => this._description; set => this._description = value; } /// <summary>Backing field for <see cref="Flags" /> property.</summary> private long? _flags; /// <summary> /// 0: default 1: Only selected arrays 2: Disable automatic cleanup 4: System created arrays 8: Auto created arrays 16: User /// created arrays /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Flags { get => this._flags; set => this._flags = value; } /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="UserName" /> property.</summary> private string _userName; /// <summary>User name for array</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string UserName { get => this._userName; set => this._userName = value; } /// <summary>Backing field for <see cref="Vendor" /> property.</summary> private string _vendor; /// <summary>Vendor Name</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Vendor { get => this._vendor; set => this._vendor = value; } /// <summary>Backing field for <see cref="VsVendor" /> property.</summary> private string _vsVendor; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string VsVendor { get => this._vsVendor; set => this._vsVendor = value; } /// <summary>Creates an new <see cref="ArrayLevel" /> instance.</summary> public ArrayLevel() { } } /// Array detail template public partial interface IArrayLevel : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Flag to check if the array is associated to the given client or subclient</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Flag to check if the array is associated to the given client or subclient", SerializedName = @"assocFlag", PossibleTypes = new [] { typeof(bool) })] bool? AssocFlag { get; set; } /// <summary>Control host of the storage array</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Control host of the storage array", SerializedName = @"controlHost", PossibleTypes = new [] { typeof(string) })] string ControlHost { get; set; } /// <summary>description about the Storage Array</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"description about the Storage Array", SerializedName = @"description", PossibleTypes = new [] { typeof(string) })] string Description { get; set; } /// <summary> /// 0: default 1: Only selected arrays 2: Disable automatic cleanup 4: System created arrays 8: Auto created arrays 16: User /// created arrays /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"0: default 1: Only selected arrays 2: Disable automatic cleanup 4: System created arrays 8: Auto created arrays 16: User created arrays", SerializedName = @"flags", PossibleTypes = new [] { typeof(long) })] long? Flags { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// <summary>User name for array</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"User name for array", SerializedName = @"userName", PossibleTypes = new [] { typeof(string) })] string UserName { get; set; } /// <summary>Vendor Name</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Vendor Name", SerializedName = @"vendor", PossibleTypes = new [] { typeof(string) })] string Vendor { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"VSVendor", PossibleTypes = new [] { typeof(string) })] string VsVendor { get; set; } } /// Array detail template internal partial interface IArrayLevelInternal { /// <summary>Flag to check if the array is associated to the given client or subclient</summary> bool? AssocFlag { get; set; } /// <summary>Control host of the storage array</summary> string ControlHost { get; set; } /// <summary>description about the Storage Array</summary> string Description { get; set; } /// <summary> /// 0: default 1: Only selected arrays 2: Disable automatic cleanup 4: System created arrays 8: Auto created arrays 16: User /// created arrays /// </summary> long? Flags { get; set; } long? Id { get; set; } string Name { get; set; } /// <summary>User name for array</summary> string UserName { get; set; } /// <summary>Vendor Name</summary> string Vendor { get; set; } string VsVendor { get; set; } } } |