generated/api/Models/TokenRuleGroups.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 TokenRuleGroups : Commvault.Powershell.Models.ITokenRuleGroups, Commvault.Powershell.Models.ITokenRuleGroupsInternal { /// <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="RuleGroups" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.ITokenRuleGroup> _ruleGroups; /// <summary>List of rule groups</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.ITokenRuleGroup> RuleGroups { get => this._ruleGroups; set => this._ruleGroups = value; } /// <summary>Creates an new <see cref="TokenRuleGroups" /> instance.</summary> public TokenRuleGroups() { } } public partial interface ITokenRuleGroups : 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 rule groups</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"List of rule groups", SerializedName = @"ruleGroups", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ITokenRuleGroup) })] System.Collections.Generic.List<Commvault.Powershell.Models.ITokenRuleGroup> RuleGroups { get; set; } } internal partial interface ITokenRuleGroupsInternal { string Match { get; set; } /// <summary>List of rule groups</summary> System.Collections.Generic.List<Commvault.Powershell.Models.ITokenRuleGroup> RuleGroups { get; set; } } } |