Documentation

CreateNetworkSwitchStackRoutingStaticRoute implements ModelInterface, ArrayAccess

CreateNetworkSwitchStackRoutingStaticRoute 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
getAdvertiseViaOspfEnabled()  : bool
Gets advertise_via_ospf_enabled
getModelName()  : string
The original name of the model.
getName()  : string
Gets name
getNextHopIp()  : string
Gets next_hop_ip
getPreferOverOspfRoutesEnabled()  : bool
Gets prefer_over_ospf_routes_enabled
getSubnet()  : string
Gets subnet
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.
setAdvertiseViaOspfEnabled()  : $this
Sets advertise_via_ospf_enabled
setName()  : $this
Sets name
setNextHopIp()  : $this
Sets next_hop_ip
setPreferOverOspfRoutesEnabled()  : $this
Sets prefer_over_ospf_routes_enabled
setSubnet()  : $this
Sets subnet
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 = ['name' => 'name', 'subnet' => 'subnet', 'next_hop_ip' => 'nextHopIp', 'advertise_via_ospf_enabled' => 'advertiseViaOspfEnabled', 'prefer_over_ospf_routes_enabled' => 'preferOverOspfRoutesEnabled']

$getters

Array of attributes to getter functions (for serialization of requests)

protected static array<string|int, string> $getters = ['name' => 'getName', 'subnet' => 'getSubnet', 'next_hop_ip' => 'getNextHopIp', 'advertise_via_ospf_enabled' => 'getAdvertiseViaOspfEnabled', 'prefer_over_ospf_routes_enabled' => 'getPreferOverOspfRoutesEnabled']

$setters

Array of attributes to setter functions (for deserialization of responses)

protected static array<string|int, string> $setters = ['name' => 'setName', 'subnet' => 'setSubnet', 'next_hop_ip' => 'setNextHopIp', 'advertise_via_ospf_enabled' => 'setAdvertiseViaOspfEnabled', 'prefer_over_ospf_routes_enabled' => 'setPreferOverOspfRoutesEnabled']

$swaggerFormats

Array of property to format mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerFormats = ['name' => null, 'subnet' => null, 'next_hop_ip' => null, 'advertise_via_ospf_enabled' => null, 'prefer_over_ospf_routes_enabled' => null]

$swaggerTypes

Array of property to type mappings. Used for (de)serialization

protected static array<string|int, string> $swaggerTypes = ['name' => 'string', 'subnet' => 'string', 'next_hop_ip' => 'string', 'advertise_via_ospf_enabled' => 'bool', 'prefer_over_ospf_routes_enabled' => 'bool']

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

setAdvertiseViaOspfEnabled()

Sets advertise_via_ospf_enabled

public setAdvertiseViaOspfEnabled(bool $advertise_via_ospf_enabled) : $this
Parameters
$advertise_via_ospf_enabled : bool

Option to advertise static route via OSPF

Return values
$this

setNextHopIp()

Sets next_hop_ip

public setNextHopIp(string $next_hop_ip) : $this
Parameters
$next_hop_ip : string

IP address of the next hop device to which the device sends its traffic for the subnet

Return values
$this

setPreferOverOspfRoutesEnabled()

Sets prefer_over_ospf_routes_enabled

public setPreferOverOspfRoutesEnabled(bool $prefer_over_ospf_routes_enabled) : $this
Parameters
$prefer_over_ospf_routes_enabled : bool

Option to prefer static route over OSPF routes

Return values
$this

setSubnet()

Sets subnet

public setSubnet(string $subnet) : $this
Parameters
$subnet : string

The subnet which is routed via this static route and should be specified in CIDR notation (ex. 1.2.3.0/24)

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