generated/api/Models/VMGuestCredentials.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>VMGuestCredentials</summary>
    public partial class VMGuestCredentials :
        Commvault.Powershell.Models.IVMGuestCredentials,
        Commvault.Powershell.Models.IVMGuestCredentialsInternal
    {

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

        [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;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string UserName { get => this._userName; set => this._userName = value; }

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

        }
    }
    /// VMGuestCredentials
    public partial interface IVMGuestCredentials :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"password",
        PossibleTypes = new [] { typeof(string) })]
        string Password { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"userName",
        PossibleTypes = new [] { typeof(string) })]
        string UserName { get; set; }

    }
    /// VMGuestCredentials
    internal partial interface IVMGuestCredentialsInternal

    {
        string Password { get; set; }

        string UserName { get; set; }

    }
}