UpdateNetworkApplianceTrafficShapingUplinkSelection implements ModelInterface, ArrayAccess
UpdateNetworkApplianceTrafficShapingUplinkSelection Class Doc Comment
Tags
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
DEFAULT_UPLINK_WAN1
public
mixed
DEFAULT_UPLINK_WAN1
= 'wan1'
DEFAULT_UPLINK_WAN2
public
mixed
DEFAULT_UPLINK_WAN2
= 'wan2'
DISCRIMINATOR
public
mixed
DISCRIMINATOR
= null
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']
$container
Associative array for storing property values
protected
array<string|int, mixed>
$container
= []
$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]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'updateNetworkApplianceTrafficShapingUplinkSelection'
$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 —__toString()
Gets the string presentation of the object
public
__toString() : string
Return values
string —attributeMap()
Array of attributes where the key is the local name, and the value is the original name
public
static attributeMap() : array<string|int, mixed>
Return values
array<string|int, mixed> —getActiveActiveAutoVpnEnabled()
Gets active_active_auto_vpn_enabled
public
getActiveActiveAutoVpnEnabled() : bool
Return values
bool —getDefaultUplink()
Gets default_uplink
public
getDefaultUplink() : string
Return values
string —getDefaultUplinkAllowableValues()
Gets allowable values of the enum
public
getDefaultUplinkAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getLoadBalancingEnabled()
Gets load_balancing_enabled
public
getLoadBalancingEnabled() : bool
Return values
bool —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getters()
Array of attributes to getter functions (for serialization of requests)
public
static getters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getVpnTrafficUplinkPreferences()
Gets vpn_traffic_uplink_preferences
public
getVpnTrafficUplinkPreferences() : array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionVpnTrafficUplinkPreferences>
Return values
array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionVpnTrafficUplinkPreferences> —getWanTrafficUplinkPreferences()
Gets wan_traffic_uplink_preferences
public
getWanTrafficUplinkPreferences() : array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionWanTrafficUplinkPreferences>
Return values
array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionWanTrafficUplinkPreferences> —listInvalidProperties()
Show all the invalid properties with reasons.
public
listInvalidProperties() : array<string|int, mixed>
Return values
array<string|int, mixed> —invalid properties with reasons
offsetExists()
Returns true if offset exists. False otherwise.
public
offsetExists(int $offset) : bool
Parameters
- $offset : int
-
Offset
Return values
bool —offsetGet()
Gets offset.
public
offsetGet(int $offset) : mixed
Parameters
- $offset : int
-
Offset
Return values
mixed —offsetSet()
Sets value based on offset.
public
offsetSet(int $offset, mixed $value) : void
Parameters
- $offset : int
-
Offset
- $value : mixed
-
Value to be set
Return values
void —offsetUnset()
Unsets offset.
public
offsetUnset(int $offset) : void
Parameters
- $offset : int
-
Offset
Return values
void —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 —setDefaultUplink()
Sets default_uplink
public
setDefaultUplink(string $default_uplink) : $this
Parameters
- $default_uplink : string
-
The default uplink. Must be one of: 'wan1' or 'wan2'
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 —setters()
Array of attributes to setter functions (for deserialization of responses)
public
static setters() : array<string|int, mixed>
Return values
array<string|int, mixed> —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 —swaggerFormats()
Array of property to format mappings. Used for (de)serialization
public
static swaggerFormats() : array<string|int, mixed>
Return values
array<string|int, mixed> —swaggerTypes()
Array of property to type mappings. Used for (de)serialization
public
static swaggerTypes() : array<string|int, mixed>
Return values
array<string|int, mixed> —valid()
Validate all the properties in the model return true if all passed
public
valid() : bool
Return values
bool —True if all properties are valid