Documentation

NetworksnetworkIdappliancevpnbgpNeighbors implements ModelInterface, ArrayAccess

NetworksnetworkIdappliancevpnbgpNeighbors Class Doc Comment

Tags
category

Class

author

Swagger Codegen team

link
https://github.com/swagger-api/swagger-codegen

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

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']

$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]

$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

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>

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

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

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

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>

Search results