generated/api/Models/VirtualLabIPSettings.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>IP settings containing mappings of IP address range to the destination network</summary>
    public partial class VirtualLabIPSettings :
        Commvault.Powershell.Models.IVirtualLabIPSettings,
        Commvault.Powershell.Models.IVirtualLabIPSettingsInternal
    {

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string DefaultGatewayIP { get => this._defaultGatewayIP; set => this._defaultGatewayIP = value; }

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string IPAddressRange { get => this._iPAddressRange; set => this._iPAddressRange = value; }

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string NetworkName { get => this._networkName; set => this._networkName = value; }

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string SubnetMask { get => this._subnetMask; set => this._subnetMask = value; }

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

        }
    }
    /// IP settings containing mappings of IP address range to the destination network
    public partial interface IVirtualLabIPSettings :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"defaultGatewayIP",
        PossibleTypes = new [] { typeof(string) })]
        string DefaultGatewayIP { get; set; }

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

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

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

    }
    /// IP settings containing mappings of IP address range to the destination network
    internal partial interface IVirtualLabIPSettingsInternal

    {
        string DefaultGatewayIP { get; set; }

        string IPAddressRange { get; set; }

        string NetworkName { get; set; }

        string SubnetMask { get; set; }

    }
}