generated/api/Models/AddLaptop.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;

    public partial class AddLaptop :
        Commvault.Powershell.Models.IAddLaptop,
        Commvault.Powershell.Models.IAddLaptopInternal
    {

        /// <summary>Backing field for <see cref="ClientNames" /> property.</summary>
        private string[] _clientNames;

        /// <summary>list of hostName of computers</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public 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,
        Description = @"list of hostName of computers",
        SerializedName = @"clientNames",
        PossibleTypes = new [] { typeof(string) })]
        string[] ClientNames { get; set; }
        /// <summary>the os type of computers</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        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,
        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,
        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>
        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; }

    }
}