generated/api/Models/ListHypervisors.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>ListHypervisors</summary> public partial class ListHypervisors : Commvault.Powershell.Models.IListHypervisors, Commvault.Powershell.Models.IListHypervisorsInternal { /// <summary>Backing field for <see cref="HypervisorCount" /> property.</summary> private long? _hypervisorCount; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? HypervisorCount { get => this._hypervisorCount; set => this._hypervisorCount = value; } /// <summary>Backing field for <see cref="Hypervisors" /> property.</summary> private System.Collections.Generic.List<Commvault.Powershell.Models.IHypervisorListResp> _hypervisors; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<Commvault.Powershell.Models.IHypervisorListResp> Hypervisors { get => this._hypervisors; set => this._hypervisors = value; } /// <summary>Creates an new <see cref="ListHypervisors" /> instance.</summary> public ListHypervisors() { } } /// ListHypervisors public partial interface IListHypervisors : Commvault.Powershell.Runtime.IJsonSerializable { [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"HypervisorCount", PossibleTypes = new [] { typeof(long) })] long? HypervisorCount { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"Hypervisors", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IHypervisorListResp) })] System.Collections.Generic.List<Commvault.Powershell.Models.IHypervisorListResp> Hypervisors { get; set; } } /// ListHypervisors internal partial interface IListHypervisorsInternal { long? HypervisorCount { get; set; } System.Collections.Generic.List<Commvault.Powershell.Models.IHypervisorListResp> Hypervisors { get; set; } } } |