generated/api/Models/ResourcePoolInventoryResponse.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>Inventory response of hypervisor for ResourcePool entity</summary>
    public partial class ResourcePoolInventoryResponse :
        Commvault.Powershell.Models.IResourcePoolInventoryResponse,
        Commvault.Powershell.Models.IResourcePoolInventoryResponseInternal
    {

        /// <summary>Backing field for <see cref="DataCenterName" /> property.</summary>
        private string _dataCenterName;

        /// <summary>dataCenter Name of the ResourcePool.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string DataCenterName { get => this._dataCenterName; set => this._dataCenterName = value; }

        /// <summary>Backing field for <see cref="DnsHostName" /> property.</summary>
        private string _dnsHostName;

        /// <summary>dns Hostname of the ResourcePool.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string DnsHostName { get => this._dnsHostName; set => this._dnsHostName = value; }

        /// <summary>Backing field for <see cref="EsxServerName" /> property.</summary>
        private string _esxServerName;

        /// <summary>esx server name of the ResourcePool.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string EsxServerName { get => this._esxServerName; set => this._esxServerName = value; }

        /// <summary>Backing field for <see cref="Resources" /> property.</summary>
        private Commvault.Powershell.Models.IResourcepoolentityResponse[] _resources;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IResourcepoolentityResponse[] Resources { get => this._resources; set => this._resources = value; }

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

        }
    }
    /// Inventory response of hypervisor for ResourcePool entity
    public partial interface IResourcePoolInventoryResponse :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>dataCenter Name of the ResourcePool.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"dataCenter Name of the ResourcePool.",
        SerializedName = @"dataCenterName",
        PossibleTypes = new [] { typeof(string) })]
        string DataCenterName { get; set; }
        /// <summary>dns Hostname of the ResourcePool.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"dns Hostname of the ResourcePool.",
        SerializedName = @"dnsHostName",
        PossibleTypes = new [] { typeof(string) })]
        string DnsHostName { get; set; }
        /// <summary>esx server name of the ResourcePool.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"esx server name of the ResourcePool.",
        SerializedName = @"esxServerName",
        PossibleTypes = new [] { typeof(string) })]
        string EsxServerName { get; set; }

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

    }
    /// Inventory response of hypervisor for ResourcePool entity
    internal partial interface IResourcePoolInventoryResponseInternal

    {
        /// <summary>dataCenter Name of the ResourcePool.</summary>
        string DataCenterName { get; set; }
        /// <summary>dns Hostname of the ResourcePool.</summary>
        string DnsHostName { get; set; }
        /// <summary>esx server name of the ResourcePool.</summary>
        string EsxServerName { get; set; }

        Commvault.Powershell.Models.IResourcepoolentityResponse[] Resources { get; set; }

    }
}