UpdateNetworkSwitchRoutingOspf implements ModelInterface, ArrayAccess
UpdateNetworkSwitchRoutingOspf 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
- getAreas() : array<string|int, NetworksnetworkIdswitchroutingospfAreas>
- Gets areas
- getDeadTimerInSeconds() : int
- Gets dead_timer_in_seconds
- getEnabled() : bool
- Gets enabled
- getHelloTimerInSeconds() : int
- Gets hello_timer_in_seconds
- getMd5AuthenticationEnabled() : bool
- Gets md5_authentication_enabled
- getMd5AuthenticationKey() : NetworksnetworkIdswitchroutingospfMd5AuthenticationKey
- Gets md5_authentication_key
- getModelName() : string
- The original name of the model.
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- 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.
- setAreas() : $this
- Sets areas
- setDeadTimerInSeconds() : $this
- Sets dead_timer_in_seconds
- setEnabled() : $this
- Sets enabled
- setHelloTimerInSeconds() : $this
- Sets hello_timer_in_seconds
- setMd5AuthenticationEnabled() : $this
- Sets md5_authentication_enabled
- setMd5AuthenticationKey() : $this
- Sets md5_authentication_key
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- 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
= ['enabled' => 'enabled', 'hello_timer_in_seconds' => 'helloTimerInSeconds', 'dead_timer_in_seconds' => 'deadTimerInSeconds', 'areas' => 'areas', 'md5_authentication_enabled' => 'md5AuthenticationEnabled', 'md5_authentication_key' => 'md5AuthenticationKey']
$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
= ['enabled' => 'getEnabled', 'hello_timer_in_seconds' => 'getHelloTimerInSeconds', 'dead_timer_in_seconds' => 'getDeadTimerInSeconds', 'areas' => 'getAreas', 'md5_authentication_enabled' => 'getMd5AuthenticationEnabled', 'md5_authentication_key' => 'getMd5AuthenticationKey']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['enabled' => 'setEnabled', 'hello_timer_in_seconds' => 'setHelloTimerInSeconds', 'dead_timer_in_seconds' => 'setDeadTimerInSeconds', 'areas' => 'setAreas', 'md5_authentication_enabled' => 'setMd5AuthenticationEnabled', 'md5_authentication_key' => 'setMd5AuthenticationKey']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['enabled' => null, 'hello_timer_in_seconds' => null, 'dead_timer_in_seconds' => null, 'areas' => null, 'md5_authentication_enabled' => null, 'md5_authentication_key' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'updateNetworkSwitchRoutingOspf'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['enabled' => 'bool', 'hello_timer_in_seconds' => 'int', 'dead_timer_in_seconds' => 'int', 'areas' => '\Swagger\Client\Model\NetworksnetworkIdswitchroutingospfAreas[]', 'md5_authentication_enabled' => 'bool', 'md5_authentication_key' => '\Swagger\Client\Model\NetworksnetworkIdswitchroutingospfMd5AuthenticationKey']
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> —getAreas()
Gets areas
public
getAreas() : array<string|int, NetworksnetworkIdswitchroutingospfAreas>
Return values
array<string|int, NetworksnetworkIdswitchroutingospfAreas> —getDeadTimerInSeconds()
Gets dead_timer_in_seconds
public
getDeadTimerInSeconds() : int
Return values
int —getEnabled()
Gets enabled
public
getEnabled() : bool
Return values
bool —getHelloTimerInSeconds()
Gets hello_timer_in_seconds
public
getHelloTimerInSeconds() : int
Return values
int —getMd5AuthenticationEnabled()
Gets md5_authentication_enabled
public
getMd5AuthenticationEnabled() : bool
Return values
bool —getMd5AuthenticationKey()
Gets md5_authentication_key
public
getMd5AuthenticationKey() : NetworksnetworkIdswitchroutingospfMd5AuthenticationKey
Return values
NetworksnetworkIdswitchroutingospfMd5AuthenticationKey —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> —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 —setAreas()
Sets areas
public
setAreas(array<string|int, NetworksnetworkIdswitchroutingospfAreas> $areas) : $this
Parameters
- $areas : array<string|int, NetworksnetworkIdswitchroutingospfAreas>
-
OSPF areas
Return values
$this —setDeadTimerInSeconds()
Sets dead_timer_in_seconds
public
setDeadTimerInSeconds(int $dead_timer_in_seconds) : $this
Parameters
- $dead_timer_in_seconds : int
-
Time interval to determine when the peer will be declare inactive/dead. Value must be between 1 and 65535
Return values
$this —setEnabled()
Sets enabled
public
setEnabled(bool $enabled) : $this
Parameters
- $enabled : bool
-
Boolean value to enable or disable OSPF routing. OSPF routing is disabled by default.
Return values
$this —setHelloTimerInSeconds()
Sets hello_timer_in_seconds
public
setHelloTimerInSeconds(int $hello_timer_in_seconds) : $this
Parameters
- $hello_timer_in_seconds : int
-
Time interval in seconds at which hello packet will be sent to OSPF neighbors to maintain connectivity. Value must be between 1 and 255. Default is 10 seconds
Return values
$this —setMd5AuthenticationEnabled()
Sets md5_authentication_enabled
public
setMd5AuthenticationEnabled(bool $md5_authentication_enabled) : $this
Parameters
- $md5_authentication_enabled : bool
-
Boolean value to enable or disable MD5 authentication. MD5 authentication is disabled by default.
Return values
$this —setMd5AuthenticationKey()
Sets md5_authentication_key
public
setMd5AuthenticationKey(NetworksnetworkIdswitchroutingospfMd5AuthenticationKey $md5_authentication_key) : $this
Parameters
- $md5_authentication_key : NetworksnetworkIdswitchroutingospfMd5AuthenticationKey
-
md5_authentication_key
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> —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