generated/api/Models/ArrayLabel.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>Labels for array entities to be displayed on the CC page</summary>
    public partial class ArrayLabel :
        Commvault.Powershell.Models.IArrayLabel,
        Commvault.Powershell.Models.IArrayLabelInternal
    {

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

        /// <summary>Label for array control host</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string ControlHost { get => this._controlHost; set => this._controlHost = value; }

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

        /// <summary>Label for array name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Name { get => this._name; set => this._name = value; }

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

        /// <summary>Label for array password</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Password { get => this._password; set => this._password = value; }

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

        /// <summary>Label for array username</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string UserName { get => this._userName; set => this._userName = value; }

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

        }
    }
    /// Labels for array entities to be displayed on the CC page
    public partial interface IArrayLabel :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Label for array control host</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Label for array control host",
        SerializedName = @"controlHost",
        PossibleTypes = new [] { typeof(string) })]
        string ControlHost { get; set; }
        /// <summary>Label for array name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Label for array name",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>Label for array password</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Label for array password",
        SerializedName = @"password",
        PossibleTypes = new [] { typeof(string) })]
        string Password { get; set; }
        /// <summary>Label for array username</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Label for array username",
        SerializedName = @"userName",
        PossibleTypes = new [] { typeof(string) })]
        string UserName { get; set; }

    }
    /// Labels for array entities to be displayed on the CC page
    internal partial interface IArrayLabelInternal

    {
        /// <summary>Label for array control host</summary>
        string ControlHost { get; set; }
        /// <summary>Label for array name</summary>
        string Name { get; set; }
        /// <summary>Label for array password</summary>
        string Password { get; set; }
        /// <summary>Label for array username</summary>
        string UserName { get; set; }

    }
}