generated/api/Models/ArrayUserPassword.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>Template for options provided to user</summary>
    public partial class ArrayUserPassword :
        Commvault.Powershell.Models.IArrayUserPassword,
        Commvault.Powershell.Models.IArrayUserPasswordInternal
    {

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

        /// <summary>Base 64 encoded Password to access the array</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>Username to access the array</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string UserName { get => this._userName; set => this._userName = value; }

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

        }
    }
    /// Template for options provided to user
    public partial interface IArrayUserPassword :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Base 64 encoded Password to access the array</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Base 64 encoded Password to access the array",
        SerializedName = @"password",
        PossibleTypes = new [] { typeof(string) })]
        string Password { get; set; }
        /// <summary>Username to access the array</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"Username to access the array",
        SerializedName = @"userName",
        PossibleTypes = new [] { typeof(string) })]
        string UserName { get; set; }

    }
    /// Template for options provided to user
    internal partial interface IArrayUserPasswordInternal

    {
        /// <summary>Base 64 encoded Password to access the array</summary>
        string Password { get; set; }
        /// <summary>Username to access the array</summary>
        string UserName { get; set; }

    }
}