generated/api/Models/FirewallGroupAdvancedOptions.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;

    public partial class FirewallGroupAdvancedOptions :
        Commvault.Powershell.Models.IFirewallGroupAdvancedOptions,
        Commvault.Powershell.Models.IFirewallGroupAdvancedOptionsInternal
    {

        /// <summary>Backing field for <see cref="KeepAliveInterval" /> property.</summary>
        private long? _keepAliveInterval;

        /// <summary>
        /// The interval in seconds for sending keep-alive packets, to maintain the session if backup traffic has an extended pause.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? KeepAliveInterval { get => this._keepAliveInterval; set => this._keepAliveInterval = value; }

        /// <summary>Backing field for <see cref="TunnelPort" /> property.</summary>
        private long? _tunnelPort;

        /// <summary>The port defined for communications</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? TunnelPort { get => this._tunnelPort; set => this._tunnelPort = value; }

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

        }
    }
    public partial interface IFirewallGroupAdvancedOptions :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// The interval in seconds for sending keep-alive packets, to maintain the session if backup traffic has an extended pause.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The interval in seconds for sending keep-alive packets, to maintain the session if backup traffic has an extended pause.",
        SerializedName = @"keepAliveInterval",
        PossibleTypes = new [] { typeof(long) })]
        long? KeepAliveInterval { get; set; }
        /// <summary>The port defined for communications</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The port defined for communications",
        SerializedName = @"tunnelPort",
        PossibleTypes = new [] { typeof(long) })]
        long? TunnelPort { get; set; }

    }
    internal partial interface IFirewallGroupAdvancedOptionsInternal

    {
        /// <summary>
        /// The interval in seconds for sending keep-alive packets, to maintain the session if backup traffic has an extended pause.
        /// </summary>
        long? KeepAliveInterval { get; set; }
        /// <summary>The port defined for communications</summary>
        long? TunnelPort { get; set; }

    }
}