generated/api/Models/TokenRuleGroup.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; public partial class TokenRuleGroup : Commvault.Powershell.Models.ITokenRuleGroup, Commvault.Powershell.Models.ITokenRuleGroupInternal { /// <summary>Backing field for <see cref="Match" /> property.</summary> private string _match; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Match { get => this._match; set => this._match = value; } /// <summary>Backing field for <see cref="Rules" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.ITokenRule> _rules; /// <summary>List of rules</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.ITokenRule> Rules { get => this._rules; set => this._rules = value; } /// <summary>Creates an new <see cref="TokenRuleGroup" /> instance.</summary> public TokenRuleGroup() { } } public partial interface ITokenRuleGroup : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"match", PossibleTypes = new [] { typeof(string) })] string Match { get; set; } /// <summary>List of rules</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"List of rules", SerializedName = @"rules", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ITokenRule) })] System.Collections.Generic.List<Commvault.Powershell.Models.ITokenRule> Rules { get; set; } } internal partial interface ITokenRuleGroupInternal { string Match { get; set; } /// <summary>List of rules</summary> System.Collections.Generic.List<Commvault.Powershell.Models.ITokenRule> Rules { get; set; } } } |