generated/api/Models/GetServerGroupsResp.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; /// <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="ServerGroupCount" /> property.</summary> private long? _serverGroupCount; /// <summary>This returns the total number of server groups.</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? ServerGroupCount { get => this._serverGroupCount; set => this._serverGroupCount = value; } /// <summary>Backing field for <see cref="ServerGroups" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IServerGroupList> _serverGroups; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<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 { /// <summary>This returns the total number of server groups.</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"This returns the total number of server groups.", SerializedName = @"serverGroupCount", PossibleTypes = new [] { typeof(long) })] long? ServerGroupCount { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"serverGroups", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IServerGroupList) })] System.Collections.Generic.List<Commvault.Powershell.Models.IServerGroupList> ServerGroups { get; set; } } /// Returns a list of existing server groups which are present. internal partial interface IGetServerGroupsRespInternal { /// <summary>This returns the total number of server groups.</summary> long? ServerGroupCount { get; set; } System.Collections.Generic.List<Commvault.Powershell.Models.IServerGroupList> ServerGroups { get; set; } } } |