NetworksnetworkIdappliancetrafficShapinguplinkSelectionVpnTrafficUplinkPreferences implements ModelInterface, ArrayAccess
NetworksnetworkIdappliancetrafficShapinguplinkSelectionVpnTrafficUplinkPreferences Class Doc Comment
Tags
Interfaces, Classes and Traits
- ModelInterface
- Interface abstracting model access.
- ArrayAccess
Table of Contents
- DISCRIMINATOR = null
- FAIL_OVER_CRITERION_POOR_PERFORMANCE = 'poorPerformance'
- FAIL_OVER_CRITERION_UPLINK_DOWN = 'uplinkDown'
- PREFERRED_UPLINK_BEST_FOR_VO_IP = 'bestForVoIP'
- PREFERRED_UPLINK_DEFAULT_UPLINK = 'defaultUplink'
- PREFERRED_UPLINK_LOAD_BALANCING = 'loadBalancing'
- PREFERRED_UPLINK_WAN1 = 'wan1'
- PREFERRED_UPLINK_WAN2 = 'wan2'
- $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
- getFailOverCriterion() : string
- Gets fail_over_criterion
- getFailOverCriterionAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getModelName() : string
- The original name of the model.
- getPerformanceClass() : NetworksnetworkIdappliancetrafficShapinguplinkSelectionPerformanceClass
- Gets performance_class
- getPreferredUplink() : string
- Gets preferred_uplink
- getPreferredUplinkAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getTrafficFilters() : array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionTrafficFilters1>
- Gets traffic_filters
- 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.
- setFailOverCriterion() : $this
- Sets fail_over_criterion
- setPerformanceClass() : $this
- Sets performance_class
- setPreferredUplink() : $this
- Sets preferred_uplink
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setTrafficFilters() : $this
- Sets traffic_filters
- 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
DISCRIMINATOR
public
mixed
DISCRIMINATOR
= null
FAIL_OVER_CRITERION_POOR_PERFORMANCE
public
mixed
FAIL_OVER_CRITERION_POOR_PERFORMANCE
= 'poorPerformance'
FAIL_OVER_CRITERION_UPLINK_DOWN
public
mixed
FAIL_OVER_CRITERION_UPLINK_DOWN
= 'uplinkDown'
PREFERRED_UPLINK_BEST_FOR_VO_IP
public
mixed
PREFERRED_UPLINK_BEST_FOR_VO_IP
= 'bestForVoIP'
PREFERRED_UPLINK_DEFAULT_UPLINK
public
mixed
PREFERRED_UPLINK_DEFAULT_UPLINK
= 'defaultUplink'
PREFERRED_UPLINK_LOAD_BALANCING
public
mixed
PREFERRED_UPLINK_LOAD_BALANCING
= 'loadBalancing'
PREFERRED_UPLINK_WAN1
public
mixed
PREFERRED_UPLINK_WAN1
= 'wan1'
PREFERRED_UPLINK_WAN2
public
mixed
PREFERRED_UPLINK_WAN2
= 'wan2'
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
= ['traffic_filters' => 'trafficFilters', 'preferred_uplink' => 'preferredUplink', 'fail_over_criterion' => 'failOverCriterion', 'performance_class' => 'performanceClass']
$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
= ['traffic_filters' => 'getTrafficFilters', 'preferred_uplink' => 'getPreferredUplink', 'fail_over_criterion' => 'getFailOverCriterion', 'performance_class' => 'getPerformanceClass']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['traffic_filters' => 'setTrafficFilters', 'preferred_uplink' => 'setPreferredUplink', 'fail_over_criterion' => 'setFailOverCriterion', 'performance_class' => 'setPerformanceClass']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['traffic_filters' => null, 'preferred_uplink' => null, 'fail_over_criterion' => null, 'performance_class' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'networksnetworkIdappliancetrafficShapinguplinkSelection_vpnTrafficUplinkPreferences'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['traffic_filters' => '\Swagger\Client\Model\NetworksnetworkIdappliancetrafficShapinguplinkSelectionTrafficFilters1[]', 'preferred_uplink' => 'string', 'fail_over_criterion' => 'string', 'performance_class' => '\Swagger\Client\Model\NetworksnetworkIdappliancetrafficShapinguplinkSelectionPerformanceClass']
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> —getFailOverCriterion()
Gets fail_over_criterion
public
getFailOverCriterion() : string
Return values
string —getFailOverCriterionAllowableValues()
Gets allowable values of the enum
public
getFailOverCriterionAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getPerformanceClass()
Gets performance_class
public
getPerformanceClass() : NetworksnetworkIdappliancetrafficShapinguplinkSelectionPerformanceClass
Return values
NetworksnetworkIdappliancetrafficShapinguplinkSelectionPerformanceClass —getPreferredUplink()
Gets preferred_uplink
public
getPreferredUplink() : string
Return values
string —getPreferredUplinkAllowableValues()
Gets allowable values of the enum
public
getPreferredUplinkAllowableValues() : array<string|int, string>
Return values
array<string|int, 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> —getTrafficFilters()
Gets traffic_filters
public
getTrafficFilters() : array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionTrafficFilters1>
Return values
array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionTrafficFilters1> —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 —setFailOverCriterion()
Sets fail_over_criterion
public
setFailOverCriterion(string $fail_over_criterion) : $this
Parameters
- $fail_over_criterion : string
-
Fail over criterion for this uplink preference rule. Must be one of: 'poorPerformance' or 'uplinkDown'
Return values
$this —setPerformanceClass()
Sets performance_class
public
setPerformanceClass(NetworksnetworkIdappliancetrafficShapinguplinkSelectionPerformanceClass $performance_class) : $this
Parameters
- $performance_class : NetworksnetworkIdappliancetrafficShapinguplinkSelectionPerformanceClass
-
performance_class
Return values
$this —setPreferredUplink()
Sets preferred_uplink
public
setPreferredUplink(string $preferred_uplink) : $this
Parameters
- $preferred_uplink : string
-
Preferred uplink for this uplink preference rule. Must be one of: 'wan1', 'wan2', 'bestForVoIP', 'loadBalancing' or 'defaultUplink'
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> —setTrafficFilters()
Sets traffic_filters
public
setTrafficFilters(array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionTrafficFilters1> $traffic_filters) : $this
Parameters
- $traffic_filters : array<string|int, NetworksnetworkIdappliancetrafficShapinguplinkSelectionTrafficFilters1>
-
Array of traffic filters for this uplink preference rule
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