generated/api/Models/PlanEntityRuleList.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;

    /// <summary>List holding details of various plan rules</summary>
    public partial class PlanEntityRuleList :
        Commvault.Powershell.Models.IPlanEntityRuleList,
        Commvault.Powershell.Models.IPlanEntityRuleListInternal
    {

        /// <summary>Backing field for <see cref="Rules" /> property.</summary>
        private Commvault.Powershell.Models.IPlanEntityRuleInfo[] _rules;

        /// <summary>list of rules</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IPlanEntityRuleInfo[] Rules { get => this._rules; set => this._rules = value; }

        /// <summary>Creates an new <see cref="PlanEntityRuleList" /> instance.</summary>
        public PlanEntityRuleList()
        {

        }
    }
    /// List holding details of various plan rules
    public partial interface IPlanEntityRuleList :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>list of rules</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"list of rules",
        SerializedName = @"rules",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IPlanEntityRuleInfo) })]
        Commvault.Powershell.Models.IPlanEntityRuleInfo[] Rules { get; set; }

    }
    /// List holding details of various plan rules
    internal partial interface IPlanEntityRuleListInternal

    {
        /// <summary>list of rules</summary>
        Commvault.Powershell.Models.IPlanEntityRuleInfo[] Rules { get; set; }

    }
}