generated/api/Models/AdditionalSettingInfo.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; /// <summary>AdditionalSettingInfo</summary> public partial class AdditionalSettingInfo : Commvault.Powershell.Models.IAdditionalSettingInfo, Commvault.Powershell.Models.IAdditionalSettingInfoInternal { /// <summary>Backing field for <see cref="Category" /> property.</summary> private string _category; /// <summary>Category of the setting</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Category { get => this._category; set => this._category = value; } /// <summary>Backing field for <see cref="DefaultValue" /> property.</summary> private string _defaultValue; /// <summary>Default value of the setting</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DefaultValue { get => this._defaultValue; set => this._defaultValue = value; } /// <summary>Backing field for <see cref="Description" /> property.</summary> private string _description; /// <summary>Description of the setting</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Description { get => this._description; set => this._description = value; } /// <summary>Backing field for <see cref="DisplayLabel" /> property.</summary> private string _displayLabel; /// <summary>Display name of the setting</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string DisplayLabel { get => this._displayLabel; set => this._displayLabel = value; } /// <summary>Backing field for <see cref="IsRestartRequired" /> property.</summary> private bool? _isRestartRequired; /// <summary> /// Specifies if it is required to restart the services for any changes to take effect /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? IsRestartRequired { get => this._isRestartRequired; set => this._isRestartRequired = value; } /// <summary>Backing field for <see cref="MaxValue" /> property.</summary> private long? _maxValue; /// <summary>Maximum supported value</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MaxValue { get => this._maxValue; set => this._maxValue = value; } /// <summary>Backing field for <see cref="MinValue" /> property.</summary> private long? _minValue; /// <summary> /// Specifies minimum value that can be set to modify specified global setting. It is only returned if the setting type is /// Integer /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MinValue { get => this._minValue; set => this._minValue = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>Name of the setting</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Backing field for <see cref="Type" /> property.</summary> private string _type; /// <summary>Data type of the value</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Type { get => this._type; set => this._type = value; } /// <summary>Creates an new <see cref="AdditionalSettingInfo" /> instance.</summary> public AdditionalSettingInfo() { } } /// AdditionalSettingInfo public partial interface IAdditionalSettingInfo : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Category of the setting</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Category of the setting", SerializedName = @"category", PossibleTypes = new [] { typeof(string) })] string Category { get; set; } /// <summary>Default value of the setting</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Default value of the setting", SerializedName = @"defaultValue", PossibleTypes = new [] { typeof(string) })] string DefaultValue { get; set; } /// <summary>Description of the setting</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Description of the setting", SerializedName = @"description", PossibleTypes = new [] { typeof(string) })] string Description { get; set; } /// <summary>Display name of the setting</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Display name of the setting", SerializedName = @"displayLabel", PossibleTypes = new [] { typeof(string) })] string DisplayLabel { get; set; } /// <summary> /// Specifies if it is required to restart the services for any changes to take effect /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Specifies if it is required to restart the services for any changes to take effect", SerializedName = @"isRestartRequired", PossibleTypes = new [] { typeof(bool) })] bool? IsRestartRequired { get; set; } /// <summary>Maximum supported value</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Maximum supported value", SerializedName = @"maxValue", PossibleTypes = new [] { typeof(long) })] long? MaxValue { get; set; } /// <summary> /// Specifies minimum value that can be set to modify specified global setting. It is only returned if the setting type is /// Integer /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Specifies minimum value that can be set to modify specified global setting. It is only returned if the setting type is Integer", SerializedName = @"minValue", PossibleTypes = new [] { typeof(long) })] long? MinValue { get; set; } /// <summary>Name of the setting</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of the setting", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } /// <summary>Data type of the value</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Data type of the value", SerializedName = @"type", PossibleTypes = new [] { typeof(string) })] string Type { get; set; } } /// AdditionalSettingInfo internal partial interface IAdditionalSettingInfoInternal { /// <summary>Category of the setting</summary> string Category { get; set; } /// <summary>Default value of the setting</summary> string DefaultValue { get; set; } /// <summary>Description of the setting</summary> string Description { get; set; } /// <summary>Display name of the setting</summary> string DisplayLabel { get; set; } /// <summary> /// Specifies if it is required to restart the services for any changes to take effect /// </summary> bool? IsRestartRequired { get; set; } /// <summary>Maximum supported value</summary> long? MaxValue { get; set; } /// <summary> /// Specifies minimum value that can be set to modify specified global setting. It is only returned if the setting type is /// Integer /// </summary> long? MinValue { get; set; } /// <summary>Name of the setting</summary> string Name { get; set; } /// <summary>Data type of the value</summary> string Type { get; set; } } } |