generated/api/Models/GetServerGroupsResp.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>Returns a list of existing server groups which are present.</summary>
    public partial class GetServerGroupsResp :
        Commvault.Powershell.Models.IGetServerGroupsResp,
        Commvault.Powershell.Models.IGetServerGroupsRespInternal
    {

        /// <summary>Backing field for <see cref="ServerGroups" /> property.</summary>
        private Commvault.Powershell.Models.IServerGroupList[] _serverGroups;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IServerGroupList[] ServerGroups { get => this._serverGroups; set => this._serverGroups = value; }

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

        }
    }
    /// Returns a list of existing server groups which are present.
    public partial interface IGetServerGroupsResp :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"serverGroups",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IServerGroupList) })]
        Commvault.Powershell.Models.IServerGroupList[] ServerGroups { get; set; }

    }
    /// Returns a list of existing server groups which are present.
    internal partial interface IGetServerGroupsRespInternal

    {
        Commvault.Powershell.Models.IServerGroupList[] ServerGroups { get; set; }

    }
}