generated/api/Models/DatastoreInventoryResponse.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 datastore entity</summary>
    public partial class DatastoreInventoryResponse :
        Commvault.Powershell.Models.IDatastoreInventoryResponse,
        Commvault.Powershell.Models.IDatastoreInventoryResponseInternal
    {

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

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

        /// <summary>Backing field for <see cref="DataStore" /> property.</summary>
        private Commvault.Powershell.Models.IDataStoreentityResponse[] _dataStore;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IDataStoreentityResponse[] DataStore { get => this._dataStore; set => this._dataStore = value; }

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

        /// <summary>dns Hostname of the datastore.</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 datastore.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string EsxServerName { get => this._esxServerName; set => this._esxServerName = value; }

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

        }
    }
    /// Inventory response of hypervisor for datastore entity
    public partial interface IDatastoreInventoryResponse :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>dataCenter Name of the datastore.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"dataCenter Name of the datastore.",
        SerializedName = @"dataCenterName",
        PossibleTypes = new [] { typeof(string) })]
        string DataCenterName { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"dataStore",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IDataStoreentityResponse) })]
        Commvault.Powershell.Models.IDataStoreentityResponse[] DataStore { get; set; }
        /// <summary>dns Hostname of the datastore.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"dns Hostname of the datastore.",
        SerializedName = @"dnsHostName",
        PossibleTypes = new [] { typeof(string) })]
        string DnsHostName { get; set; }
        /// <summary>esx server name of the datastore.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"esx server name of the datastore.",
        SerializedName = @"esxServerName",
        PossibleTypes = new [] { typeof(string) })]
        string EsxServerName { get; set; }

    }
    /// Inventory response of hypervisor for datastore entity
    internal partial interface IDatastoreInventoryResponseInternal

    {
        /// <summary>dataCenter Name of the datastore.</summary>
        string DataCenterName { get; set; }

        Commvault.Powershell.Models.IDataStoreentityResponse[] DataStore { get; set; }
        /// <summary>dns Hostname of the datastore.</summary>
        string DnsHostName { get; set; }
        /// <summary>esx server name of the datastore.</summary>
        string EsxServerName { get; set; }

    }
}