UpdateDeviceSwitchRoutingInterfaceDhcp implements ModelInterface, ArrayAccess
UpdateDeviceSwitchRoutingInterfaceDhcp Class Doc Comment
Tags
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
DHCP_LEASE_TIME__12_HOURS
public
mixed
DHCP_LEASE_TIME__12_HOURS
= '12 hours'
DHCP_LEASE_TIME__1_DAY
public
mixed
DHCP_LEASE_TIME__1_DAY
= '1 day'
DHCP_LEASE_TIME__1_HOUR
public
mixed
DHCP_LEASE_TIME__1_HOUR
= '1 hour'
DHCP_LEASE_TIME__1_WEEK
public
mixed
DHCP_LEASE_TIME__1_WEEK
= '1 week'
DHCP_LEASE_TIME__30_MINUTES
public
mixed
DHCP_LEASE_TIME__30_MINUTES
= '30 minutes'
DHCP_LEASE_TIME__4_HOURS
public
mixed
DHCP_LEASE_TIME__4_HOURS
= '4 hours'
DHCP_MODE_DHCP_DISABLED
public
mixed
DHCP_MODE_DHCP_DISABLED
= 'dhcpDisabled'
DHCP_MODE_DHCP_RELAY
public
mixed
DHCP_MODE_DHCP_RELAY
= 'dhcpRelay'
DHCP_MODE_DHCP_SERVER
public
mixed
DHCP_MODE_DHCP_SERVER
= 'dhcpServer'
DISCRIMINATOR
public
mixed
DISCRIMINATOR
= null
DNS_NAMESERVERS_OPTION_CUSTOM
public
mixed
DNS_NAMESERVERS_OPTION_CUSTOM
= 'custom'
DNS_NAMESERVERS_OPTION_GOOGLE_PUBLIC_DNS
public
mixed
DNS_NAMESERVERS_OPTION_GOOGLE_PUBLIC_DNS
= 'googlePublicDns'
DNS_NAMESERVERS_OPTION_OPEN_DNS
public
mixed
DNS_NAMESERVERS_OPTION_OPEN_DNS
= 'openDns'
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']
$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
= ['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]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'updateDeviceSwitchRoutingInterfaceDhcp'
$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 —__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> —getBootFileName()
Gets boot_file_name
public
getBootFileName() : string
Return values
string —getBootNextServer()
Gets boot_next_server
public
getBootNextServer() : string
Return values
string —getBootOptionsEnabled()
Gets boot_options_enabled
public
getBootOptionsEnabled() : bool
Return values
bool —getDhcpLeaseTime()
Gets dhcp_lease_time
public
getDhcpLeaseTime() : string
Return values
string —getDhcpLeaseTimeAllowableValues()
Gets allowable values of the enum
public
getDhcpLeaseTimeAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getDhcpMode()
Gets dhcp_mode
public
getDhcpMode() : string
Return values
string —getDhcpModeAllowableValues()
Gets allowable values of the enum
public
getDhcpModeAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getDhcpOptions()
Gets dhcp_options
public
getDhcpOptions() : array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpDhcpOptions>
Return values
array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpDhcpOptions> —getDhcpRelayServerIps()
Gets dhcp_relay_server_ips
public
getDhcpRelayServerIps() : array<string|int, string>
Return values
array<string|int, string> —getDnsCustomNameservers()
Gets dns_custom_nameservers
public
getDnsCustomNameservers() : array<string|int, string>
Return values
array<string|int, string> —getDnsNameserversOption()
Gets dns_nameservers_option
public
getDnsNameserversOption() : string
Return values
string —getDnsNameserversOptionAllowableValues()
Gets allowable values of the enum
public
getDnsNameserversOptionAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getFixedIpAssignments()
Gets fixed_ip_assignments
public
getFixedIpAssignments() : array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpFixedIpAssignments>
Return values
array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpFixedIpAssignments> —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getReservedIpRanges()
Gets reserved_ip_ranges
public
getReservedIpRanges() : array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpReservedIpRanges>
Return values
array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpReservedIpRanges> —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 —setBootFileName()
Sets boot_file_name
public
setBootFileName(string $boot_file_name) : $this
Parameters
- $boot_file_name : string
-
The PXE boot server filename for the DHCP server running on the switch 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 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 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 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 interface ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer')
Return values
$this —setDhcpOptions()
Sets dhcp_options
public
setDhcpOptions(array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpDhcpOptions> $dhcp_options) : $this
Parameters
- $dhcp_options : array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpDhcpOptions>
-
Array of DHCP options consisting of code, type and value for the DHCP server running on the switch interface
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 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 interface ('googlePublicDns', 'openDns' or 'custom')
Return values
$this —setFixedIpAssignments()
Sets fixed_ip_assignments
public
setFixedIpAssignments(array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpFixedIpAssignments> $fixed_ip_assignments) : $this
Parameters
- $fixed_ip_assignments : array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpFixedIpAssignments>
-
Array of DHCP fixed IP assignments for the DHCP server running on the switch interface
Return values
$this —setReservedIpRanges()
Sets reserved_ip_ranges
public
setReservedIpRanges(array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpReservedIpRanges> $reserved_ip_ranges) : $this
Parameters
- $reserved_ip_ranges : array<string|int, DevicesserialswitchroutinginterfacesinterfaceIddhcpReservedIpRanges>
-
Array of DHCP reserved IP assignments for the DHCP server running on the switch interface
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