generated/api/Models/ArrayConfigsBasic.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>Generic template for arrayConfigs</summary>
    public partial class ArrayConfigsBasic :
        Commvault.Powershell.Models.IArrayConfigsBasic,
        Commvault.Powershell.Models.IArrayConfigsBasicInternal
    {

        /// <summary>Backing field for <see cref="MasterConfigId" /> property.</summary>
        private long _masterConfigId;

        /// <summary>This is the masterConfigId, which is available for each vendor's configs</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long MasterConfigId { get => this._masterConfigId; set => this._masterConfigId = value; }

        /// <summary>Backing field for <see cref="Name" /> property.</summary>
        private string _name;

        /// <summary>This is the name of the config which is displayed on the Command Center Console</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Name { get => this._name; set => this._name = value; }

        /// <summary>Backing field for <see cref="Type" /> property.</summary>
        private long _type;

        /// <summary>
        /// Type of the config value. type can accept 7 values [1,2,8,10,12,13,14], 1: boolean, 2: integer, 8: text, 10: array[string]
        /// are common configs, the rest three are special keys, 12 is for password type key for NetApp E-Series and HPE Nimble, 13
        /// is Private Key for GCP, 14 is a config to select type of Disk for GCP
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long Type { get => this._type; set => this._type = value; }

        /// <summary>Backing field for <see cref="Value" /> property.</summary>
        private string _value;

        /// <summary>
        /// Takes a single value for all types except 10 and for type 14 it holds the id of the selected value from values
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Value { get => this._value; set => this._value = value; }

        /// <summary>Backing field for <see cref="Values" /> property.</summary>
        private Commvault.Powershell.Models.IIdName[] _values;

        /// <summary>
        /// Values to be entered. for type 10 and 14. For HPE 3PAR StoreServ, pass MA Id in name field to configure that MA as remote
        /// snap MA.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IIdName[] Values { get => this._values; set => this._values = value; }

        /// <summary>Creates an new <see cref="ArrayConfigsBasic" /> instance.</summary>
        public ArrayConfigsBasic()
        {

        }
    }
    /// Generic template for arrayConfigs
    public partial interface IArrayConfigsBasic :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>This is the masterConfigId, which is available for each vendor's configs</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"This is the masterConfigId, which is available for each vendor's configs",
        SerializedName = @"masterConfigId",
        PossibleTypes = new [] { typeof(long) })]
        long MasterConfigId { get; set; }
        /// <summary>This is the name of the config which is displayed on the Command Center Console</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"This is the name of the config which is displayed on the Command Center Console",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>
        /// Type of the config value. type can accept 7 values [1,2,8,10,12,13,14], 1: boolean, 2: integer, 8: text, 10: array[string]
        /// are common configs, the rest three are special keys, 12 is for password type key for NetApp E-Series and HPE Nimble, 13
        /// is Private Key for GCP, 14 is a config to select type of Disk for GCP
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"Type of the config value. type can accept 7 values [1,2,8,10,12,13,14], 1: boolean, 2: integer, 8: text, 10: array[string] are common configs, the rest three are special keys, 12 is for password type key for NetApp E-Series and HPE Nimble, 13 is Private Key for GCP, 14 is a config to select type of Disk for GCP",
        SerializedName = @"type",
        PossibleTypes = new [] { typeof(long) })]
        long Type { get; set; }
        /// <summary>
        /// Takes a single value for all types except 10 and for type 14 it holds the id of the selected value from values
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Takes a single value for all types except 10 and for type 14 it holds the id of the selected value from values",
        SerializedName = @"value",
        PossibleTypes = new [] { typeof(string) })]
        string Value { get; set; }
        /// <summary>
        /// Values to be entered. for type 10 and 14. For HPE 3PAR StoreServ, pass MA Id in name field to configure that MA as remote
        /// snap MA.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Values to be entered. for type 10 and 14. For HPE 3PAR StoreServ, pass MA Id in name field to configure that MA as remote snap MA.",
        SerializedName = @"values",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })]
        Commvault.Powershell.Models.IIdName[] Values { get; set; }

    }
    /// Generic template for arrayConfigs
    internal partial interface IArrayConfigsBasicInternal

    {
        /// <summary>This is the masterConfigId, which is available for each vendor's configs</summary>
        long MasterConfigId { get; set; }
        /// <summary>This is the name of the config which is displayed on the Command Center Console</summary>
        string Name { get; set; }
        /// <summary>
        /// Type of the config value. type can accept 7 values [1,2,8,10,12,13,14], 1: boolean, 2: integer, 8: text, 10: array[string]
        /// are common configs, the rest three are special keys, 12 is for password type key for NetApp E-Series and HPE Nimble, 13
        /// is Private Key for GCP, 14 is a config to select type of Disk for GCP
        /// </summary>
        long Type { get; set; }
        /// <summary>
        /// Takes a single value for all types except 10 and for type 14 it holds the id of the selected value from values
        /// </summary>
        string Value { get; set; }
        /// <summary>
        /// Values to be entered. for type 10 and 14. For HPE 3PAR StoreServ, pass MA Id in name field to configure that MA as remote
        /// snap MA.
        /// </summary>
        Commvault.Powershell.Models.IIdName[] Values { get; set; }

    }
}