NetworksnetworkIdappliancevpnbgpNeighbors implements ModelInterface, ArrayAccess
NetworksnetworkIdappliancevpnbgpNeighbors 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
- getAllowTransit() : bool
- Gets allow_transit
- getEbgpHoldTimer() : int
- Gets ebgp_hold_timer
- getEbgpMultihop() : int
- Gets ebgp_multihop
- getIp() : string
- Gets ip
- getModelName() : string
- The original name of the model.
- getReceiveLimit() : int
- Gets receive_limit
- getRemoteAsNumber() : int
- Gets remote_as_number
- 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.
- setAllowTransit() : $this
- Sets allow_transit
- setEbgpHoldTimer() : $this
- Sets ebgp_hold_timer
- setEbgpMultihop() : $this
- Sets ebgp_multihop
- setIp() : $this
- Sets ip
- setReceiveLimit() : $this
- Sets receive_limit
- setRemoteAsNumber() : $this
- Sets remote_as_number
- 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
= ['ip' => 'ip', 'remote_as_number' => 'remoteAsNumber', 'receive_limit' => 'receiveLimit', 'allow_transit' => 'allowTransit', 'ebgp_hold_timer' => 'ebgpHoldTimer', 'ebgp_multihop' => 'ebgpMultihop']
$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
= ['ip' => 'getIp', 'remote_as_number' => 'getRemoteAsNumber', 'receive_limit' => 'getReceiveLimit', 'allow_transit' => 'getAllowTransit', 'ebgp_hold_timer' => 'getEbgpHoldTimer', 'ebgp_multihop' => 'getEbgpMultihop']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['ip' => 'setIp', 'remote_as_number' => 'setRemoteAsNumber', 'receive_limit' => 'setReceiveLimit', 'allow_transit' => 'setAllowTransit', 'ebgp_hold_timer' => 'setEbgpHoldTimer', 'ebgp_multihop' => 'setEbgpMultihop']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['ip' => null, 'remote_as_number' => null, 'receive_limit' => null, 'allow_transit' => null, 'ebgp_hold_timer' => null, 'ebgp_multihop' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'networksnetworkIdappliancevpnbgp_neighbors'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['ip' => 'string', 'remote_as_number' => 'int', 'receive_limit' => 'int', 'allow_transit' => 'bool', 'ebgp_hold_timer' => 'int', 'ebgp_multihop' => 'int']
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> —getAllowTransit()
Gets allow_transit
public
getAllowTransit() : bool
Return values
bool —getEbgpHoldTimer()
Gets ebgp_hold_timer
public
getEbgpHoldTimer() : int
Return values
int —getEbgpMultihop()
Gets ebgp_multihop
public
getEbgpMultihop() : int
Return values
int —getIp()
Gets ip
public
getIp() : string
Return values
string —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getReceiveLimit()
Gets receive_limit
public
getReceiveLimit() : int
Return values
int —getRemoteAsNumber()
Gets remote_as_number
public
getRemoteAsNumber() : int
Return values
int —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 —setAllowTransit()
Sets allow_transit
public
setAllowTransit(bool $allow_transit) : $this
Parameters
- $allow_transit : bool
-
When this feature is on, the Meraki device will advertise routes learned from other Autonomous Systems, thereby allowing traffic between Autonomous Systems to transit this AS. When absent, it defaults to false.
Return values
$this —setEbgpHoldTimer()
Sets ebgp_hold_timer
public
setEbgpHoldTimer(int $ebgp_hold_timer) : $this
Parameters
- $ebgp_hold_timer : int
-
The EBGP hold timer in seconds for each neighbor. The EBGP hold timer must be an integer between 12 and 240.
Return values
$this —setEbgpMultihop()
Sets ebgp_multihop
public
setEbgpMultihop(int $ebgp_multihop) : $this
Parameters
- $ebgp_multihop : int
-
Configure this if the neighbor is not adjacent. The EBGP multi-hop must be an integer between 1 and 255.
Return values
$this —setIp()
Sets ip
public
setIp(string $ip) : $this
Parameters
- $ip : string
-
IP address of the neighbor.
Return values
$this —setReceiveLimit()
Sets receive_limit
public
setReceiveLimit(int $receive_limit) : $this
Parameters
- $receive_limit : int
-
The receive limit is the maximum number of routes that can be received from any BGP peer. The receive limit must be an integer between 0 and 4294967295. When absent, it defaults to 0.
Return values
$this —setRemoteAsNumber()
Sets remote_as_number
public
setRemoteAsNumber(int $remote_as_number) : $this
Parameters
- $remote_as_number : int
-
Remote ASN of the neighbor. The remote ASN must be an integer between 1 and 4294967295.
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