UpdateNetworkWirelessSsidTrafficShapingRules implements ModelInterface, ArrayAccess
UpdateNetworkWirelessSsidTrafficShapingRules Class Doc Comment
Tags
Interfaces, Classes and Traits
- ModelInterface
- Interface abstracting model access.
- ArrayAccess
Table of Contents
- 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
- getDefaultRulesEnabled() : bool
- Gets default_rules_enabled
- getModelName() : string
- The original name of the model.
- getRules() : array<string|int, NetworksnetworkIdwirelessssidsnumbertrafficShapingrulesRules>
- Gets rules
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getTrafficShapingEnabled() : bool
- Gets traffic_shaping_enabled
- 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.
- setDefaultRulesEnabled() : $this
- Sets default_rules_enabled
- setRules() : $this
- Sets rules
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setTrafficShapingEnabled() : $this
- Sets traffic_shaping_enabled
- 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
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_shaping_enabled' => 'trafficShapingEnabled', 'default_rules_enabled' => 'defaultRulesEnabled', 'rules' => 'rules']
$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_shaping_enabled' => 'getTrafficShapingEnabled', 'default_rules_enabled' => 'getDefaultRulesEnabled', 'rules' => 'getRules']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['traffic_shaping_enabled' => 'setTrafficShapingEnabled', 'default_rules_enabled' => 'setDefaultRulesEnabled', 'rules' => 'setRules']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['traffic_shaping_enabled' => null, 'default_rules_enabled' => null, 'rules' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'updateNetworkWirelessSsidTrafficShapingRules'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['traffic_shaping_enabled' => 'bool', 'default_rules_enabled' => 'bool', 'rules' => '\Swagger\Client\Model\NetworksnetworkIdwirelessssidsnumbertrafficShapingrulesRules[]']
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> —getDefaultRulesEnabled()
Gets default_rules_enabled
public
getDefaultRulesEnabled() : bool
Return values
bool —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getRules()
Gets rules
public
getRules() : array<string|int, NetworksnetworkIdwirelessssidsnumbertrafficShapingrulesRules>
Return values
array<string|int, NetworksnetworkIdwirelessssidsnumbertrafficShapingrulesRules> —getters()
Array of attributes to getter functions (for serialization of requests)
public
static getters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getTrafficShapingEnabled()
Gets traffic_shaping_enabled
public
getTrafficShapingEnabled() : bool
Return values
bool —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 —setDefaultRulesEnabled()
Sets default_rules_enabled
public
setDefaultRulesEnabled(bool $default_rules_enabled) : $this
Parameters
- $default_rules_enabled : bool
-
Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
Return values
$this —setRules()
Sets rules
public
setRules(array<string|int, NetworksnetworkIdwirelessssidsnumbertrafficShapingrulesRules> $rules) : $this
Parameters
- $rules : array<string|int, NetworksnetworkIdwirelessssidsnumbertrafficShapingrulesRules>
-
An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.
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> —setTrafficShapingEnabled()
Sets traffic_shaping_enabled
public
setTrafficShapingEnabled(bool $traffic_shaping_enabled) : $this
Parameters
- $traffic_shaping_enabled : bool
-
Whether traffic shaping rules are applied to clients on your SSID.
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