generated/api/Models/GatewayConnectionInfo.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>Gateway information for network topology</summary> public partial class GatewayConnectionInfo : Commvault.Powershell.Models.IGatewayConnectionInfo, Commvault.Powershell.Models.IGatewayConnectionInfoInternal { /// <summary>Backing field for <see cref="Hostname" /> property.</summary> private string _hostname; /// <summary>Gateway machine hostname</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public string Hostname { get => this._hostname; set => this._hostname = value; } /// <summary>Backing field for <see cref="Port" /> property.</summary> private long? _port; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public long? Port { get => this._port; set => this._port = value; } /// <summary>Creates an new <see cref="GatewayConnectionInfo" /> instance.</summary> public GatewayConnectionInfo() { } } /// Gateway information for network topology public partial interface IGatewayConnectionInfo : Commvault.Powershell.Runtime.IJsonSerializable { /// <summary>Gateway machine hostname</summary> [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"Gateway machine hostname", SerializedName = @"hostname", PossibleTypes = new [] { typeof(string) })] string Hostname { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Description = @"", SerializedName = @"port", PossibleTypes = new [] { typeof(long) })] long? Port { get; set; } } /// Gateway information for network topology internal partial interface IGatewayConnectionInfoInternal { /// <summary>Gateway machine hostname</summary> string Hostname { get; set; } long? Port { get; set; } } } |