generated/api/Models/AddLaptop.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 AddLaptop : Commvault.Powershell.Models.IAddLaptop, Commvault.Powershell.Models.IAddLaptopInternal { /// <summary>Backing field for <see cref="ClientNames" /> property.</summary> private System.Collections.Generic.List<string> _clientNames; /// <summary>list of hostName of computers</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<string> ClientNames { get => this._clientNames; set => this._clientNames = value; } /// <summary>Backing field for <see cref="OS" /> property.</summary> private string _oS; /// <summary>the os type of computers</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string OS { get => this._oS; set => this._oS = value; } /// <summary>Backing field for <see cref="Password" /> property.</summary> private string _password; /// <summary>password (base64 encoded) required for authentication of jobs</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 required for authentication of jobs</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string UserName { get => this._userName; set => this._userName = value; } /// <summary>Creates an new <see cref="AddLaptop" /> instance.</summary> public AddLaptop() { } } public partial interface IAddLaptop : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>list of hostName of computers</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"list of hostName of computers", SerializedName = @"clientNames", PossibleTypes = new [] { typeof(string) })] System.Collections.Generic.List<string> ClientNames { get; set; } /// <summary>the os type of computers</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"the os type of computers", SerializedName = @"os", PossibleTypes = new [] { typeof(string) })] string OS { get; set; } /// <summary>password (base64 encoded) required for authentication of jobs</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"password (base64 encoded) required for authentication of jobs", SerializedName = @"password", PossibleTypes = new [] { typeof(string) })] string Password { get; set; } /// <summary>username required for authentication of jobs</summary> [Commvault.Powershell.Runtime.Info( Required = true, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"username required for authentication of jobs", SerializedName = @"userName", PossibleTypes = new [] { typeof(string) })] string UserName { get; set; } } internal partial interface IAddLaptopInternal { /// <summary>list of hostName of computers</summary> System.Collections.Generic.List<string> ClientNames { get; set; } /// <summary>the os type of computers</summary> string OS { get; set; } /// <summary>password (base64 encoded) required for authentication of jobs</summary> string Password { get; set; } /// <summary>username required for authentication of jobs</summary> string UserName { get; set; } } } |