generated/api/Models/PermissionListResp.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 PermissionListResp :
        Commvault.Powershell.Models.IPermissionListResp,
        Commvault.Powershell.Models.IPermissionListRespInternal
    {

        /// <summary>Backing field for <see cref="Permissions" /> property.</summary>
        private Commvault.Powershell.Models.ICategoryListResp[] _permissions;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.ICategoryListResp[] Permissions { get => this._permissions; set => this._permissions = value; }

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

        }
    }
    public partial interface IPermissionListResp :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"permissions",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ICategoryListResp) })]
        Commvault.Powershell.Models.ICategoryListResp[] Permissions { get; set; }

    }
    internal partial interface IPermissionListRespInternal

    {
        Commvault.Powershell.Models.ICategoryListResp[] Permissions { get; set; }

    }
}