generated/api/Models/DownloadConfiguration.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 DownloadConfiguration :
        Commvault.Powershell.Models.IDownloadConfiguration,
        Commvault.Powershell.Models.IDownloadConfigurationInternal
    {

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

        /// <summary>Which specific feature release to download.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string FeatureRelease { get => this._featureRelease; set => this._featureRelease = value; }

        /// <summary>Backing field for <see cref="LatestFixesForCurrentRelease" /> property.</summary>
        private bool? _latestFixesForCurrentRelease;

        /// <summary>Boolean which determines whether to download latest fixews for current release.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? LatestFixesForCurrentRelease { get => this._latestFixesForCurrentRelease; set => this._latestFixesForCurrentRelease = value; }

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

        /// <summary>
        /// gives list of all the target unix and MAC operating systems to download software for.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string[] UnixDownloadOptions { get => this._unixDownloadOptions; set => this._unixDownloadOptions = value; }

        /// <summary>Backing field for <see cref="UpgradeToLatestRelease" /> property.</summary>
        private bool? _upgradeToLatestRelease;

        /// <summary>Boolean which determines whether to upgrade to latest release.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? UpgradeToLatestRelease { get => this._upgradeToLatestRelease; set => this._upgradeToLatestRelease = value; }

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

        /// <summary>
        /// gives list of all the target windows operating systems to download software for.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string[] WindowsDownloadOptions { get => this._windowsDownloadOptions; set => this._windowsDownloadOptions = value; }

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

        }
    }
    /// Configurations for software download from the internet
    public partial interface IDownloadConfiguration :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Which specific feature release to download.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Which specific feature release to download.",
        SerializedName = @"featureRelease",
        PossibleTypes = new [] { typeof(string) })]
        string FeatureRelease { get; set; }
        /// <summary>Boolean which determines whether to download latest fixews for current release.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Boolean which determines whether to download latest fixews for current release.",
        SerializedName = @"latestFixesForCurrentRelease",
        PossibleTypes = new [] { typeof(bool) })]
        bool? LatestFixesForCurrentRelease { get; set; }
        /// <summary>
        /// gives list of all the target unix and MAC operating systems to download software for.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"gives list of all the target unix and MAC operating systems to download software for.",
        SerializedName = @"unixDownloadOptions",
        PossibleTypes = new [] { typeof(string) })]
        string[] UnixDownloadOptions { get; set; }
        /// <summary>Boolean which determines whether to upgrade to latest release.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Boolean which determines whether to upgrade to latest release.",
        SerializedName = @"upgradeToLatestRelease",
        PossibleTypes = new [] { typeof(bool) })]
        bool? UpgradeToLatestRelease { get; set; }
        /// <summary>
        /// gives list of all the target windows operating systems to download software for.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"gives list of all the target windows operating systems to download software for.",
        SerializedName = @"windowsDownloadOptions",
        PossibleTypes = new [] { typeof(string) })]
        string[] WindowsDownloadOptions { get; set; }

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

    {
        /// <summary>Which specific feature release to download.</summary>
        string FeatureRelease { get; set; }
        /// <summary>Boolean which determines whether to download latest fixews for current release.</summary>
        bool? LatestFixesForCurrentRelease { get; set; }
        /// <summary>
        /// gives list of all the target unix and MAC operating systems to download software for.
        /// </summary>
        string[] UnixDownloadOptions { get; set; }
        /// <summary>Boolean which determines whether to upgrade to latest release.</summary>
        bool? UpgradeToLatestRelease { get; set; }
        /// <summary>
        /// gives list of all the target windows operating systems to download software for.
        /// </summary>
        string[] WindowsDownloadOptions { get; set; }

    }
}