Documentation

UpdateNetworkSwitchAlternateManagementInterface implements ModelInterface, ArrayAccess

UpdateNetworkSwitchAlternateManagementInterface 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
PROTOCOLS_RADIUS  = 'radius'
PROTOCOLS_SNMP  = 'snmp'
PROTOCOLS_SYSLOG  = 'syslog'
$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
getEnabled()  : bool
Gets enabled
getModelName()  : string
The original name of the model.
getProtocols()  : array<string|int, string>
Gets protocols
getProtocolsAllowableValues()  : array<string|int, string>
Gets allowable values of the enum
getSwitches()  : array<string|int, NetworksnetworkIdswitchalternateManagementInterfaceSwitches>
Gets switches
getters()  : array<string|int, mixed>
Array of attributes to getter functions (for serialization of requests)
getVlanId()  : int
Gets vlan_id
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.
setEnabled()  : $this
Sets enabled
setProtocols()  : $this
Sets protocols
setSwitches()  : $this
Sets switches
setters()  : array<string|int, mixed>
Array of attributes to setter functions (for deserialization of responses)
setVlanId()  : $this
Sets vlan_id
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 = ['enabled' => 'enabled', 'vlan_id' => 'vlanId', 'protocols' => 'protocols', 'switches' => 'switches']

$getters

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

protected static array<string|int, string> $getters = ['enabled' => 'getEnabled', 'vlan_id' => 'getVlanId', 'protocols' => 'getProtocols', 'switches' => 'getSwitches']

$setters

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

protected static array<string|int, string> $setters = ['enabled' => 'setEnabled', 'vlan_id' => 'setVlanId', 'protocols' => 'setProtocols', 'switches' => 'setSwitches']

$swaggerFormats

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

protected static array<string|int, string> $swaggerFormats = ['enabled' => null, 'vlan_id' => null, 'protocols' => null, 'switches' => null]

$swaggerTypes

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

protected static array<string|int, string> $swaggerTypes = ['enabled' => 'bool', 'vlan_id' => 'int', 'protocols' => 'string[]', 'switches' => '\Swagger\Client\Model\NetworksnetworkIdswitchalternateManagementInterfaceSwitches[]']

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>

listInvalidProperties()

Show all the invalid properties with reasons.

public listInvalidProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

invalid properties with reasons

setEnabled()

Sets enabled

public setEnabled(bool $enabled) : $this
Parameters
$enabled : bool

Boolean value to enable or disable AMI configuration. If enabled, VLAN and protocols must be set

Return values
$this

setProtocols()

Sets protocols

public setProtocols(array<string|int, string> $protocols) : $this
Parameters
$protocols : array<string|int, string>

Can be one or more of the following values: 'radius', 'snmp' or 'syslog'

Return values
$this

setSwitches()

Sets switches

public setSwitches(array<string|int, NetworksnetworkIdswitchalternateManagementInterfaceSwitches$switches) : $this
Parameters
$switches : array<string|int, NetworksnetworkIdswitchalternateManagementInterfaceSwitches>

Array of switch serial number and IP assignment. If parameter is present, it cannot have empty body. Note: switches parameter is not applicable for template networks, in other words, do not put 'switches' in the body when updating template networks. Also, an empty 'switches' array will remove all previous assignments

Return values
$this

Search results