NetworksnetworkIdgroupPoliciesBonjourForwardingRules implements ModelInterface, ArrayAccess
NetworksnetworkIdgroupPoliciesBonjourForwardingRules Class Doc Comment
Tags
Interfaces, Classes and Traits
- ModelInterface
- Interface abstracting model access.
- ArrayAccess
Table of Contents
- DISCRIMINATOR = null
- SERVICES_AFP = 'AFP'
- SERVICES_AIR_PLAY = 'AirPlay'
- SERVICES_ALL_SERVICES = 'All Services'
- SERVICES_BIT_TORRENT = 'BitTorrent'
- SERVICES_FTP = 'FTP'
- SERVICES_I_CHAT = 'iChat'
- SERVICES_I_TUNES = 'iTunes'
- SERVICES_PRINTERS = 'Printers'
- SERVICES_SAMBA = 'Samba'
- SERVICES_SCANNERS = 'Scanners'
- SERVICES_SSH = 'SSH'
- $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
- getDescription() : string
- Gets description
- getModelName() : string
- The original name of the model.
- getServices() : array<string|int, string>
- Gets services
- getServicesAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getVlanId() : string
- 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.
- setDescription() : $this
- Sets description
- setServices() : $this
- Sets services
- 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
DISCRIMINATOR
public
mixed
DISCRIMINATOR
= null
SERVICES_AFP
public
mixed
SERVICES_AFP
= 'AFP'
SERVICES_AIR_PLAY
public
mixed
SERVICES_AIR_PLAY
= 'AirPlay'
SERVICES_ALL_SERVICES
public
mixed
SERVICES_ALL_SERVICES
= 'All Services'
SERVICES_BIT_TORRENT
public
mixed
SERVICES_BIT_TORRENT
= 'BitTorrent'
SERVICES_FTP
public
mixed
SERVICES_FTP
= 'FTP'
SERVICES_I_CHAT
public
mixed
SERVICES_I_CHAT
= 'iChat'
SERVICES_I_TUNES
public
mixed
SERVICES_I_TUNES
= 'iTunes'
SERVICES_PRINTERS
public
mixed
SERVICES_PRINTERS
= 'Printers'
SERVICES_SAMBA
public
mixed
SERVICES_SAMBA
= 'Samba'
SERVICES_SCANNERS
public
mixed
SERVICES_SCANNERS
= 'Scanners'
SERVICES_SSH
public
mixed
SERVICES_SSH
= 'SSH'
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
= ['description' => 'description', 'vlan_id' => 'vlanId', 'services' => 'services']
$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
= ['description' => 'getDescription', 'vlan_id' => 'getVlanId', 'services' => 'getServices']
$setters
Array of attributes to setter functions (for deserialization of responses)
protected
static array<string|int, string>
$setters
= ['description' => 'setDescription', 'vlan_id' => 'setVlanId', 'services' => 'setServices']
$swaggerFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerFormats
= ['description' => null, 'vlan_id' => null, 'services' => null]
$swaggerModelName
The original name of the model.
protected
static string
$swaggerModelName
= 'networksnetworkIdgroupPolicies_bonjourForwarding_rules'
$swaggerTypes
Array of property to type mappings. Used for (de)serialization
protected
static array<string|int, string>
$swaggerTypes
= ['description' => 'string', 'vlan_id' => 'string', 'services' => 'string[]']
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> —getDescription()
Gets description
public
getDescription() : string
Return values
string —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getServices()
Gets services
public
getServices() : array<string|int, string>
Return values
array<string|int, string> —getServicesAllowableValues()
Gets allowable values of the enum
public
getServicesAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getters()
Array of attributes to getter functions (for serialization of requests)
public
static getters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getVlanId()
Gets vlan_id
public
getVlanId() : string
Return values
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
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 —setDescription()
Sets description
public
setDescription(string $description) : $this
Parameters
- $description : string
-
A description for your Bonjour forwarding rule. Optional.
Return values
$this —setServices()
Sets services
public
setServices(array<string|int, string> $services) : $this
Parameters
- $services : array<string|int, string>
-
A list of Bonjour services. At least one service must be specified. Available services are 'All Services', 'AirPlay', 'AFP', 'BitTorrent', 'FTP', 'iChat', 'iTunes', 'Printers', 'Samba', 'Scanners' and 'SSH'
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> —setVlanId()
Sets vlan_id
public
setVlanId(string $vlan_id) : $this
Parameters
- $vlan_id : string
-
The ID of the service VLAN. Required.
Return values
$this —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