generated/api/Models/UserNamePassword.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using static Commvault.Powershell.Runtime.Extensions; public partial class UserNamePassword : Commvault.Powershell.Models.IUserNamePassword, Commvault.Powershell.Models.IUserNamePasswordInternal { /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>username to access the network path</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>password to access the network path</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Password { get => this._password; set => this._password = value; } /// <summary>Creates an new <see cref="UserNamePassword" /> instance.</summary> public UserNamePassword() { } } public partial interface IUserNamePassword : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>username to access the network path</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"username to access the network path", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// <summary>password to access the network path</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"password to access the network path", SerializedName = @"password", PossibleTypes = new [] { typeof(string) })] string Password { get; set; } } internal partial interface IUserNamePasswordInternal { /// <summary>username to access the network path</summary> string Name { get; set; } /// <summary>password to access the network path</summary> string Password { get; set; } } } |