generated/api/Models/ListHypervisors.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>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 Commvault.Powershell.Models.IHypervisorListResp[] _hypervisors;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public 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,
        Description = @"",
        SerializedName = @"HypervisorCount",
        PossibleTypes = new [] { typeof(long) })]
        long? HypervisorCount { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"Hypervisors",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IHypervisorListResp) })]
        Commvault.Powershell.Models.IHypervisorListResp[] Hypervisors { get; set; }

    }
    /// ListHypervisors
    internal partial interface IListHypervisorsInternal

    {
        long? HypervisorCount { get; set; }

        Commvault.Powershell.Models.IHypervisorListResp[] Hypervisors { get; set; }

    }
}