generated/api/Models/GlobalSettingsItem.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>GlobalSettingsItem</summary> public partial class GlobalSettingsItem : Commvault.Powershell.Models.IGlobalSettingsItem, Commvault.Powershell.Models.IGlobalSettingsItemInternal { /// <summary>Backing field for <see cref="AcceptableValues" /> property.</summary> private System.Collections.Generic.List<string> _acceptableValues; /// <summary> /// Specifies values which are acceptable when modifying the setting value. This will only be returned if there are specific /// set of values which can be accepted. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<string> AcceptableValues { get => this._acceptableValues; set => this._acceptableValues = value; } /// <summary>Backing field for <see cref="Category" /> property.</summary> private string _category; /// <summary>Category to which setting belongs</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Category { get => this._category; set => this._category = value; } /// <summary>Backing field for <see cref="Comment" /> property.</summary> private string _comment; /// <summary>Comment set by the user while modifying the setting</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Comment { get => this._comment; set => this._comment = value; } /// <summary>Backing field for <see cref="DefaultValue" /> property.</summary> private string _defaultValue; /// <summary>Value used to get default system behaviour</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 Label 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="IsModified" /> property.</summary> private bool? _isModified; /// <summary>Specifies if the setting is already modified by the user</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public bool? IsModified { get => this._isModified; set => this._isModified = 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> /// Specifies maximum 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? 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>Type of the setting</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Type { get => this._type; set => this._type = value; } /// <summary>Backing field for <see cref="Value" /> property.</summary> private string _value; /// <summary>Value of the setting if the setting was modified.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Value { get => this._value; set => this._value = value; } /// <summary>Creates an new <see cref="GlobalSettingsItem" /> instance.</summary> public GlobalSettingsItem() { } } /// GlobalSettingsItem public partial interface IGlobalSettingsItem : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary> /// Specifies values which are acceptable when modifying the setting value. This will only be returned if there are specific /// set of values which can be accepted. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Specifies values which are acceptable when modifying the setting value. This will only be returned if there are specific set of values which can be accepted.", SerializedName = @"acceptableValues", PossibleTypes = new [] { typeof(string) })] System.Collections.Generic.List<string> AcceptableValues { get; set; } /// <summary>Category to which setting belongs</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Category to which setting belongs", SerializedName = @"category", PossibleTypes = new [] { typeof(string) })] string Category { get; set; } /// <summary>Comment set by the user while modifying the setting</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Comment set by the user while modifying the setting", SerializedName = @"comment", PossibleTypes = new [] { typeof(string) })] string Comment { get; set; } /// <summary>Value used to get default system behaviour</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Value used to get default system behaviour", 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 Label of the setting</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Display Label of the setting", SerializedName = @"displayLabel", PossibleTypes = new [] { typeof(string) })] string DisplayLabel { get; set; } /// <summary>Specifies if the setting is already modified by the user</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Specifies if the setting is already modified by the user", SerializedName = @"isModified", PossibleTypes = new [] { typeof(bool) })] bool? IsModified { 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> /// Specifies maximum 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 maximum value that can be set to modify specified global setting. It is only returned if the setting type is Integer", 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>Type of the setting</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Type of the setting", SerializedName = @"type", PossibleTypes = new [] { typeof(string) })] string Type { get; set; } /// <summary>Value of the setting if the setting was modified.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Value of the setting if the setting was modified.", SerializedName = @"value", PossibleTypes = new [] { typeof(string) })] string Value { get; set; } } /// GlobalSettingsItem internal partial interface IGlobalSettingsItemInternal { /// <summary> /// Specifies values which are acceptable when modifying the setting value. This will only be returned if there are specific /// set of values which can be accepted. /// </summary> System.Collections.Generic.List<string> AcceptableValues { get; set; } /// <summary>Category to which setting belongs</summary> string Category { get; set; } /// <summary>Comment set by the user while modifying the setting</summary> string Comment { get; set; } /// <summary>Value used to get default system behaviour</summary> string DefaultValue { get; set; } /// <summary>Description of the setting</summary> string Description { get; set; } /// <summary>Display Label of the setting</summary> string DisplayLabel { get; set; } /// <summary>Specifies if the setting is already modified by the user</summary> bool? IsModified { get; set; } /// <summary> /// Specifies if it is required to restart the services for any changes to take effect /// </summary> bool? IsRestartRequired { get; set; } /// <summary> /// Specifies maximum value that can be set to modify specified global setting. It is only returned if the setting type is /// Integer /// </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>Type of the setting</summary> string Type { get; set; } /// <summary>Value of the setting if the setting was modified.</summary> string Value { get; set; } } } |