Documentation

NetworksnetworkIdgroupPoliciesBonjourForwardingRules implements ModelInterface, ArrayAccess

NetworksnetworkIdgroupPoliciesBonjourForwardingRules 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
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

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']

$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']

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

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

Search results