Documentation

UpdateNetworkApplianceTrafficShapingUplinkSelection implements ModelInterface, ArrayAccess

UpdateNetworkApplianceTrafficShapingUplinkSelection Class Doc Comment

Tags
category

Class

author

Swagger Codegen team

link
https://github.com/swagger-api/swagger-codegen

Interfaces, Classes and Traits

ModelInterface
Interface abstracting model access.
ArrayAccess

Table of Contents

DEFAULT_UPLINK_WAN1  = 'wan1'
DEFAULT_UPLINK_WAN2  = 'wan2'
DISCRIMINATOR  = null
$attributeMap  : array<string|int, string>
Array of attributes where the key is the local name, and the value is the original name
$container  : array<string|int, mixed>
Associative array for storing property values
$getters  : array<string|int, string>
Array of attributes to getter functions (for serialization of requests)
$setters  : array<string|int, string>
Array of attributes to setter functions (for deserialization of responses)
$swaggerFormats  : array<string|int, string>
Array of property to format mappings. Used for (de)serialization
$swaggerModelName  : string
The original name of the model.
$swaggerTypes  : array<string|int, string>
Array of property to type mappings. Used for (de)serialization
__construct()  : mixed
Constructor
__toString()  : string
Gets the string presentation of the object
attributeMap()  : array<string|int, mixed>
Array of attributes where the key is the local name, and the value is the original name
getActiveActiveAutoVpnEnabled()  : bool
Gets active_active_auto_vpn_enabled
getDefaultUplink()  : string
Gets default_uplink
getDefaultUplinkAllowableValues()  : array<string|int, string>
Gets allowable values of the enum
getLoadBalancingEnabled()  : bool
Gets load_balancing_enabled
getModelName()  : string
The original name of the model.
getters()  : array<string|int, mixed>
Array of attributes to getter functions (for serialization of requests)
getVpnTrafficUplinkPreferences()  : array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionVpnTrafficUplinkPreferences>
Gets vpn_traffic_uplink_preferences
getWanTrafficUplinkPreferences()  : array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionWanTrafficUplinkPreferences>
Gets wan_traffic_uplink_preferences
listInvalidProperties()  : array<string|int, mixed>
Show all the invalid properties with reasons.
offsetExists()  : bool
Returns true if offset exists. False otherwise.
offsetGet()  : mixed
Gets offset.
offsetSet()  : void
Sets value based on offset.
offsetUnset()  : void
Unsets offset.
setActiveActiveAutoVpnEnabled()  : $this
Sets active_active_auto_vpn_enabled
setDefaultUplink()  : $this
Sets default_uplink
setLoadBalancingEnabled()  : $this
Sets load_balancing_enabled
setters()  : array<string|int, mixed>
Array of attributes to setter functions (for deserialization of responses)
setVpnTrafficUplinkPreferences()  : $this
Sets vpn_traffic_uplink_preferences
setWanTrafficUplinkPreferences()  : $this
Sets wan_traffic_uplink_preferences
swaggerFormats()  : array<string|int, mixed>
Array of property to format mappings. Used for (de)serialization
swaggerTypes()  : array<string|int, mixed>
Array of property to type mappings. Used for (de)serialization
valid()  : bool
Validate all the properties in the model return true if all passed

Constants

Properties

$attributeMap

Array of attributes where the key is the local name, and the value is the original name

protected static array<string|int, string> $attributeMap = ['active_active_auto_vpn_enabled' => 'activeActiveAutoVpnEnabled', 'default_uplink' => 'defaultUplink', 'load_balancing_enabled' => 'loadBalancingEnabled', 'wan_traffic_uplink_preferences' => 'wanTrafficUplinkPreferences', 'vpn_traffic_uplink_preferences' => 'vpnTrafficUplinkPreferences']

$getters

Array of attributes to getter functions (for serialization of requests)

protected static array<string|int, string> $getters = ['active_active_auto_vpn_enabled' => 'getActiveActiveAutoVpnEnabled', 'default_uplink' => 'getDefaultUplink', 'load_balancing_enabled' => 'getLoadBalancingEnabled', 'wan_traffic_uplink_preferences' => 'getWanTrafficUplinkPreferences', 'vpn_traffic_uplink_preferences' => 'getVpnTrafficUplinkPreferences']

$setters

Array of attributes to setter functions (for deserialization of responses)

protected static array<string|int, string> $setters = ['active_active_auto_vpn_enabled' => 'setActiveActiveAutoVpnEnabled', 'default_uplink' => 'setDefaultUplink', 'load_balancing_enabled' => 'setLoadBalancingEnabled', 'wan_traffic_uplink_preferences' => 'setWanTrafficUplinkPreferences', 'vpn_traffic_uplink_preferences' => 'setVpnTrafficUplinkPreferences']

$swaggerFormats

Array of property to format mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerFormats = ['active_active_auto_vpn_enabled' => null, 'default_uplink' => null, 'load_balancing_enabled' => null, 'wan_traffic_uplink_preferences' => null, 'vpn_traffic_uplink_preferences' => null]

$swaggerTypes

Array of property to type mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerTypes = ['active_active_auto_vpn_enabled' => 'bool', 'default_uplink' => 'string', 'load_balancing_enabled' => 'bool', 'wan_traffic_uplink_preferences' => '\Swagger\Client\Model\NetworksnetworkIdappliancetrafficShapinguplinkSelectionWanTrafficUplinkPreferences[]', 'vpn_traffic_uplink_preferences' => '\Swagger\Client\Model\NetworksnetworkIdappliancetrafficShapinguplinkSelectionVpnTrafficUplinkPreferences[]']

Methods

__construct()

Constructor

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

Associated array of property values initializing the model

Return values
mixed

setActiveActiveAutoVpnEnabled()

Sets active_active_auto_vpn_enabled

public setActiveActiveAutoVpnEnabled(bool $active_active_auto_vpn_enabled) : $this
Parameters
$active_active_auto_vpn_enabled : bool

Toggle for enabling or disabling active-active AutoVPN

Return values
$this

setLoadBalancingEnabled()

Sets load_balancing_enabled

public setLoadBalancingEnabled(bool $load_balancing_enabled) : $this
Parameters
$load_balancing_enabled : bool

Toggle for enabling or disabling load balancing

Return values
$this

setVpnTrafficUplinkPreferences()

Sets vpn_traffic_uplink_preferences

public setVpnTrafficUplinkPreferences(array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionVpnTrafficUplinkPreferences$vpn_traffic_uplink_preferences) : $this
Parameters
$vpn_traffic_uplink_preferences : array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionVpnTrafficUplinkPreferences>

Array of uplink preference rules for VPN traffic

Return values
$this

setWanTrafficUplinkPreferences()

Sets wan_traffic_uplink_preferences

public setWanTrafficUplinkPreferences(array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionWanTrafficUplinkPreferences$wan_traffic_uplink_preferences) : $this
Parameters
$wan_traffic_uplink_preferences : array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionWanTrafficUplinkPreferences>

Array of uplink preference rules for WAN traffic

Return values
$this

Search results