generated/api/Models/ResourcePoolListResponse.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>
    /// A resource pool is a logical entity that combines infrastructure settings such as storage, access nodes, and index servers.
    /// </summary>
    public partial class ResourcePoolListResponse :
        Commvault.Powershell.Models.IResourcePoolListResponse,
        Commvault.Powershell.Models.IResourcePoolListResponseInternal
    {

        /// <summary>Backing field for <see cref="ResourcePools" /> property.</summary>
        private Commvault.Powershell.Models.IResourcePoolSummary[] _resourcePools;

        /// <summary>Resource Pool Summary.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IResourcePoolSummary[] ResourcePools { get => this._resourcePools; set => this._resourcePools = value; }

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

        }
    }
    /// A resource pool is a logical entity that combines infrastructure settings such as storage, access nodes, and index servers.
    public partial interface IResourcePoolListResponse :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Resource Pool Summary.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Resource Pool Summary.",
        SerializedName = @"resourcePools",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IResourcePoolSummary) })]
        Commvault.Powershell.Models.IResourcePoolSummary[] ResourcePools { get; set; }

    }
    /// A resource pool is a logical entity that combines infrastructure settings such as storage, access nodes, and index servers.
    internal partial interface IResourcePoolListResponseInternal

    {
        /// <summary>Resource Pool Summary.</summary>
        Commvault.Powershell.Models.IResourcePoolSummary[] ResourcePools { get; set; }

    }
}