generated/api/Models/ServerRule.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 ServerRule : Commvault.Powershell.Models.IServerRule, Commvault.Powershell.Models.IServerRuleInternal { /// <summary>Backing field for <see cref="MatchCondition" /> property.</summary> private string _matchCondition; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string MatchCondition { get => this._matchCondition; set => this._matchCondition = value; } /// <summary>Backing field for <see cref="RuleName" /> property.</summary> private string _ruleName; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string RuleName { get => this._ruleName; set => this._ruleName = value; } /// <summary>Backing field for <see cref="RuleSecValue" /> property.</summary> private string _ruleSecValue; /// <summary> /// Secondary value used for BETWEEN and NOT_BETWEEN matchCondition. For ruleName which have enum values (like OS_TYPE), this /// is used to store displayName. /// </summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string RuleSecValue { get => this._ruleSecValue; set => this._ruleSecValue = value; } /// <summary>Backing field for <see cref="RuleValue" /> property.</summary> private string _ruleValue; /// <summary>Primary value for the rule</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string RuleValue { get => this._ruleValue; set => this._ruleValue = value; } /// <summary>Creates an new <see cref="ServerRule" /> instance.</summary> public ServerRule() { } } public partial interface IServerRule : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"matchCondition", PossibleTypes = new [] { typeof(string) })] string MatchCondition { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"ruleName", PossibleTypes = new [] { typeof(string) })] string RuleName { get; set; } /// <summary> /// Secondary value used for BETWEEN and NOT_BETWEEN matchCondition. For ruleName which have enum values (like OS_TYPE), this /// is used to store displayName. /// </summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Secondary value used for BETWEEN and NOT_BETWEEN matchCondition. For ruleName which have enum values (like OS_TYPE), this is used to store displayName.", SerializedName = @"ruleSecValue", PossibleTypes = new [] { typeof(string) })] string RuleSecValue { get; set; } /// <summary>Primary value for the rule</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Primary value for the rule", SerializedName = @"ruleValue", PossibleTypes = new [] { typeof(string) })] string RuleValue { get; set; } } internal partial interface IServerRuleInternal { string MatchCondition { get; set; } string RuleName { get; set; } /// <summary> /// Secondary value used for BETWEEN and NOT_BETWEEN matchCondition. For ruleName which have enum values (like OS_TYPE), this /// is used to store displayName. /// </summary> string RuleSecValue { get; set; } /// <summary>Primary value for the rule</summary> string RuleValue { get; set; } } } |