generated/api/Models/NetworkInventoryResponse.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 Network entity</summary>
    public partial class NetworkInventoryResponse :
        Commvault.Powershell.Models.INetworkInventoryResponse,
        Commvault.Powershell.Models.INetworkInventoryResponseInternal
    {

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

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

        /// <summary>Backing field for <see cref="NetworkSettings" /> property.</summary>
        private Commvault.Powershell.Models.IIdName[] _networkSettings;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IIdName[] NetworkSettings { get => this._networkSettings; set => this._networkSettings = value; }

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

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

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

    }
    /// Inventory response of hypervisor for Network entity
    internal partial interface INetworkInventoryResponseInternal

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

        Commvault.Powershell.Models.IIdName[] NetworkSettings { get; set; }

    }
}