Documentation

NetworksnetworkIdwirelessrfProfilesFiveGhzSettings implements ModelInterface, ArrayAccess

NetworksnetworkIdwirelessrfProfilesFiveGhzSettings Class Doc Comment

Tags
category

Class

description

Settings related to 5Ghz band

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
$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
getChannelWidth()  : string
Gets channel_width
getMaxPower()  : int
Gets max_power
getMinBitrate()  : int
Gets min_bitrate
getMinPower()  : int
Gets min_power
getModelName()  : string
The original name of the model.
getRxsop()  : int
Gets rxsop
getters()  : array<string|int, mixed>
Array of attributes to getter functions (for serialization of requests)
getValidAutoChannels()  : array<string|int, int>
Gets valid_auto_channels
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.
setChannelWidth()  : $this
Sets channel_width
setMaxPower()  : $this
Sets max_power
setMinBitrate()  : $this
Sets min_bitrate
setMinPower()  : $this
Sets min_power
setRxsop()  : $this
Sets rxsop
setters()  : array<string|int, mixed>
Array of attributes to setter functions (for deserialization of responses)
setValidAutoChannels()  : $this
Sets valid_auto_channels
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 = ['max_power' => 'maxPower', 'min_power' => 'minPower', 'min_bitrate' => 'minBitrate', 'valid_auto_channels' => 'validAutoChannels', 'channel_width' => 'channelWidth', 'rxsop' => 'rxsop']

$getters

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

protected static array<string|int, string> $getters = ['max_power' => 'getMaxPower', 'min_power' => 'getMinPower', 'min_bitrate' => 'getMinBitrate', 'valid_auto_channels' => 'getValidAutoChannels', 'channel_width' => 'getChannelWidth', 'rxsop' => 'getRxsop']

$setters

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

protected static array<string|int, string> $setters = ['max_power' => 'setMaxPower', 'min_power' => 'setMinPower', 'min_bitrate' => 'setMinBitrate', 'valid_auto_channels' => 'setValidAutoChannels', 'channel_width' => 'setChannelWidth', 'rxsop' => 'setRxsop']

$swaggerFormats

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

protected static array<string|int, string> $swaggerFormats = ['max_power' => null, 'min_power' => null, 'min_bitrate' => null, 'valid_auto_channels' => null, 'channel_width' => null, 'rxsop' => null]

$swaggerTypes

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

protected static array<string|int, string> $swaggerTypes = ['max_power' => 'int', 'min_power' => 'int', 'min_bitrate' => 'int', 'valid_auto_channels' => 'int[]', 'channel_width' => 'string', 'rxsop' => 'int']

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

setChannelWidth()

Sets channel_width

public setChannelWidth(string $channel_width) : $this
Parameters
$channel_width : string

Sets channel width (MHz) for 5Ghz band. Can be one of 'auto', '20', '40' or '80'. Defaults to auto.

Return values
$this

setMaxPower()

Sets max_power

public setMaxPower(int $max_power) : $this
Parameters
$max_power : int

Sets max power (dBm) of 5Ghz band. Can be integer between 8 and 30. Defaults to 30.

Return values
$this

setMinBitrate()

Sets min_bitrate

public setMinBitrate(int $min_bitrate) : $this
Parameters
$min_bitrate : int

Sets min bitrate (Mbps) of 5Ghz band. Can be one of '6', '9', '12', '18', '24', '36', '48' or '54'. Defaults to 12.

Return values
$this

setMinPower()

Sets min_power

public setMinPower(int $min_power) : $this
Parameters
$min_power : int

Sets min power (dBm) of 5Ghz band. Can be integer between 8 and 30. Defaults to 8.

Return values
$this

setRxsop()

Sets rxsop

public setRxsop(int $rxsop) : $this
Parameters
$rxsop : int

The RX-SOP level controls the sensitivity of the radio. It is strongly recommended to use RX-SOP only after consulting a wireless expert. RX-SOP can be configured in the range of -65 to -95 (dBm). A value of null will reset this to the default.

Return values
$this

setValidAutoChannels()

Sets valid_auto_channels

public setValidAutoChannels(array<string|int, int> $valid_auto_channels) : $this
Parameters
$valid_auto_channels : array<string|int, int>

Sets valid auto channels for 5Ghz band. Can be one of '36', '40', '44', '48', '52', '56', '60', '64', '100', '104', '108', '112', '116', '120', '124', '128', '132', '136', '140', '144', '149', '153', '157', '161' or '165'.Defaults to [36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 149, 153, 157, 161, 165].

Return values
$this

Search results