generated/api/Models/CopyConfiguration.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>Configurations for software download from the internet</summary>
    public partial class CopyConfiguration :
        Commvault.Powershell.Models.ICopyConfiguration,
        Commvault.Powershell.Models.ICopyConfigurationInternal
    {

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

        /// <summary>Path from where the software has to be downloaded.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string DownloadPath { get => this._downloadPath; set => this._downloadPath = value; }

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

        /// <summary>Corresponding password of the user</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>If impersonation a user the, give the username of the user.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Username { get => this._username; set => this._username = value; }

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

        }
    }
    /// Configurations for software download from the internet
    public partial interface ICopyConfiguration :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Path from where the software has to be downloaded.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Path from where the software has to be downloaded.",
        SerializedName = @"downloadPath",
        PossibleTypes = new [] { typeof(string) })]
        string DownloadPath { get; set; }
        /// <summary>Corresponding password of the user</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Corresponding password of the user",
        SerializedName = @"password",
        PossibleTypes = new [] { typeof(string) })]
        string Password { get; set; }
        /// <summary>If impersonation a user the, give the username of the user.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"If impersonation a user the, give the username of the user.",
        SerializedName = @"username",
        PossibleTypes = new [] { typeof(string) })]
        string Username { get; set; }

    }
    /// Configurations for software download from the internet
    internal partial interface ICopyConfigurationInternal

    {
        /// <summary>Path from where the software has to be downloaded.</summary>
        string DownloadPath { get; set; }
        /// <summary>Corresponding password of the user</summary>
        string Password { get; set; }
        /// <summary>If impersonation a user the, give the username of the user.</summary>
        string Username { get; set; }

    }
}