generated/api/Models/IsServerGroup.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>ISServerGroup</summary> public partial class IsServerGroup : Commvault.Powershell.Models.IIsServerGroup, Commvault.Powershell.Models.IIsServerGroupInternal { /// <summary>Backing field for <see cref="Id" /> property.</summary> private long? _id; /// <summary>Id of server group</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Id { get => this._id; set => this._id = value; } /// <summary>Backing field for <see cref="MediaAgentCount" /> property.</summary> private long? _mediaAgentCount; /// <summary>Count of servers where MediaAgent package is installed</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? MediaAgentCount { get => this._mediaAgentCount; set => this._mediaAgentCount = value; } /// <summary>Backing field for <see cref="Name" /> property.</summary> private string _name; /// <summary>Name of server group</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Name { get => this._name; set => this._name = value; } /// <summary>Creates an new <see cref="IsServerGroup" /> instance.</summary> public IsServerGroup() { } } /// ISServerGroup public partial interface IIsServerGroup : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Id of server group</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Id of server group", SerializedName = @"id", PossibleTypes = new [] { typeof(long) })] long? Id { get; set; } /// <summary>Count of servers where MediaAgent package is installed</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Count of servers where MediaAgent package is installed", SerializedName = @"mediaAgentCount", PossibleTypes = new [] { typeof(long) })] long? MediaAgentCount { get; set; } /// <summary>Name of server group</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"Name of server group", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] string Name { get; set; } } /// ISServerGroup internal partial interface IIsServerGroupInternal { /// <summary>Id of server group</summary> long? Id { get; set; } /// <summary>Count of servers where MediaAgent package is installed</summary> long? MediaAgentCount { get; set; } /// <summary>Name of server group</summary> string Name { get; set; } } } |