Documentation

UpdateNetworkSwitchStackRoutingInterfaceDhcp implements ModelInterface, ArrayAccess

UpdateNetworkSwitchStackRoutingInterfaceDhcp 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

DHCP_LEASE_TIME__12_HOURS  = '12 hours'
DHCP_LEASE_TIME__1_DAY  = '1 day'
DHCP_LEASE_TIME__1_HOUR  = '1 hour'
DHCP_LEASE_TIME__1_WEEK  = '1 week'
DHCP_LEASE_TIME__30_MINUTES  = '30 minutes'
DHCP_LEASE_TIME__4_HOURS  = '4 hours'
DHCP_MODE_DHCP_DISABLED  = 'dhcpDisabled'
DHCP_MODE_DHCP_RELAY  = 'dhcpRelay'
DHCP_MODE_DHCP_SERVER  = 'dhcpServer'
DISCRIMINATOR  = null
DNS_NAMESERVERS_OPTION_CUSTOM  = 'custom'
DNS_NAMESERVERS_OPTION_GOOGLE_PUBLIC_DNS  = 'googlePublicDns'
DNS_NAMESERVERS_OPTION_OPEN_DNS  = 'openDns'
$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
getBootFileName()  : string
Gets boot_file_name
getBootNextServer()  : string
Gets boot_next_server
getBootOptionsEnabled()  : bool
Gets boot_options_enabled
getDhcpLeaseTime()  : string
Gets dhcp_lease_time
getDhcpLeaseTimeAllowableValues()  : array<string|int, string>
Gets allowable values of the enum
getDhcpMode()  : string
Gets dhcp_mode
getDhcpModeAllowableValues()  : array<string|int, string>
Gets allowable values of the enum
getDhcpOptions()  : array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpDhcpOptions>
Gets dhcp_options
getDhcpRelayServerIps()  : array<string|int, string>
Gets dhcp_relay_server_ips
getDnsCustomNameservers()  : array<string|int, string>
Gets dns_custom_nameservers
getDnsNameserversOption()  : string
Gets dns_nameservers_option
getDnsNameserversOptionAllowableValues()  : array<string|int, string>
Gets allowable values of the enum
getFixedIpAssignments()  : array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpFixedIpAssignments>
Gets fixed_ip_assignments
getModelName()  : string
The original name of the model.
getReservedIpRanges()  : array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpReservedIpRanges>
Gets reserved_ip_ranges
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.
setBootFileName()  : $this
Sets boot_file_name
setBootNextServer()  : $this
Sets boot_next_server
setBootOptionsEnabled()  : $this
Sets boot_options_enabled
setDhcpLeaseTime()  : $this
Sets dhcp_lease_time
setDhcpMode()  : $this
Sets dhcp_mode
setDhcpOptions()  : $this
Sets dhcp_options
setDhcpRelayServerIps()  : $this
Sets dhcp_relay_server_ips
setDnsCustomNameservers()  : $this
Sets dns_custom_nameservers
setDnsNameserversOption()  : $this
Sets dns_nameservers_option
setFixedIpAssignments()  : $this
Sets fixed_ip_assignments
setReservedIpRanges()  : $this
Sets reserved_ip_ranges
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 = ['dhcp_mode' => 'dhcpMode', 'dhcp_relay_server_ips' => 'dhcpRelayServerIps', 'dhcp_lease_time' => 'dhcpLeaseTime', 'dns_nameservers_option' => 'dnsNameserversOption', 'dns_custom_nameservers' => 'dnsCustomNameservers', 'boot_options_enabled' => 'bootOptionsEnabled', 'boot_next_server' => 'bootNextServer', 'boot_file_name' => 'bootFileName', 'dhcp_options' => 'dhcpOptions', 'reserved_ip_ranges' => 'reservedIpRanges', 'fixed_ip_assignments' => 'fixedIpAssignments']

$getters

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

protected static array<string|int, string> $getters = ['dhcp_mode' => 'getDhcpMode', 'dhcp_relay_server_ips' => 'getDhcpRelayServerIps', 'dhcp_lease_time' => 'getDhcpLeaseTime', 'dns_nameservers_option' => 'getDnsNameserversOption', 'dns_custom_nameservers' => 'getDnsCustomNameservers', 'boot_options_enabled' => 'getBootOptionsEnabled', 'boot_next_server' => 'getBootNextServer', 'boot_file_name' => 'getBootFileName', 'dhcp_options' => 'getDhcpOptions', 'reserved_ip_ranges' => 'getReservedIpRanges', 'fixed_ip_assignments' => 'getFixedIpAssignments']

$setters

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

protected static array<string|int, string> $setters = ['dhcp_mode' => 'setDhcpMode', 'dhcp_relay_server_ips' => 'setDhcpRelayServerIps', 'dhcp_lease_time' => 'setDhcpLeaseTime', 'dns_nameservers_option' => 'setDnsNameserversOption', 'dns_custom_nameservers' => 'setDnsCustomNameservers', 'boot_options_enabled' => 'setBootOptionsEnabled', 'boot_next_server' => 'setBootNextServer', 'boot_file_name' => 'setBootFileName', 'dhcp_options' => 'setDhcpOptions', 'reserved_ip_ranges' => 'setReservedIpRanges', 'fixed_ip_assignments' => 'setFixedIpAssignments']

$swaggerFormats

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

protected static array<string|int, string> $swaggerFormats = ['dhcp_mode' => null, 'dhcp_relay_server_ips' => null, 'dhcp_lease_time' => null, 'dns_nameservers_option' => null, 'dns_custom_nameservers' => null, 'boot_options_enabled' => null, 'boot_next_server' => null, 'boot_file_name' => null, 'dhcp_options' => null, 'reserved_ip_ranges' => null, 'fixed_ip_assignments' => null]

$swaggerTypes

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

protected static array<string|int, string> $swaggerTypes = ['dhcp_mode' => 'string', 'dhcp_relay_server_ips' => 'string[]', 'dhcp_lease_time' => 'string', 'dns_nameservers_option' => 'string', 'dns_custom_nameservers' => 'string[]', 'boot_options_enabled' => 'bool', 'boot_next_server' => 'string', 'boot_file_name' => 'string', 'dhcp_options' => '\Swagger\Client\Model\DevicesserialswitchroutinginterfacesinterfaceIddhcpDhcpOptions[]', 'reserved_ip_ranges' => '\Swagger\Client\Model\DevicesserialswitchroutinginterfacesinterfaceIddhcpReservedIpRanges[]', 'fixed_ip_assignments' => '\Swagger\Client\Model\DevicesserialswitchroutinginterfacesinterfaceIddhcpFixedIpAssignments[]']

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>

getDnsNameserversOptionAllowableValues()

Gets allowable values of the enum

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

listInvalidProperties()

Show all the invalid properties with reasons.

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

invalid properties with reasons

setBootFileName()

Sets boot_file_name

public setBootFileName(string $boot_file_name) : $this
Parameters
$boot_file_name : string

The PXE boot server file name for the DHCP server running on the switch stack interface

Return values
$this

setBootNextServer()

Sets boot_next_server

public setBootNextServer(string $boot_next_server) : $this
Parameters
$boot_next_server : string

The PXE boot server IP for the DHCP server running on the switch stack interface

Return values
$this

setBootOptionsEnabled()

Sets boot_options_enabled

public setBootOptionsEnabled(bool $boot_options_enabled) : $this
Parameters
$boot_options_enabled : bool

Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface

Return values
$this

setDhcpLeaseTime()

Sets dhcp_lease_time

public setDhcpLeaseTime(string $dhcp_lease_time) : $this
Parameters
$dhcp_lease_time : string

The DHCP lease time config for the dhcp server running on switch stack interface ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week')

Return values
$this

setDhcpMode()

Sets dhcp_mode

public setDhcpMode(string $dhcp_mode) : $this
Parameters
$dhcp_mode : string

The DHCP mode options for the switch stack interface ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer')

Return values
$this

setDhcpRelayServerIps()

Sets dhcp_relay_server_ips

public setDhcpRelayServerIps(array<string|int, string> $dhcp_relay_server_ips) : $this
Parameters
$dhcp_relay_server_ips : array<string|int, string>

The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface

Return values
$this

setDnsCustomNameservers()

Sets dns_custom_nameservers

public setDnsCustomNameservers(array<string|int, string> $dns_custom_nameservers) : $this
Parameters
$dns_custom_nameservers : array<string|int, string>

The DHCP name server IPs when DHCP name server option is 'custom'

Return values
$this

setDnsNameserversOption()

Sets dns_nameservers_option

public setDnsNameserversOption(string $dns_nameservers_option) : $this
Parameters
$dns_nameservers_option : string

The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')

Return values
$this

Search results