PHP Sigfox Client

ClassesItem extends Model

Table of Contents

$attenuation  : array<string|int, mixed>|null
The mean attenuation associated for calculation (in dB).
$id  : int|null
The Id of the device class.
$name  : string|null
The name of the device class.
from()  : static
Initializing a model from an array
getAttenuation()  : array<string|int, int>
Getter for attenuation
getId()  : int
Getter for id
getName()  : string
Getter for name
jsonSerialize()  : array<string|int, mixed>
setAttenuation()  : static
Setter for attenuation
setId()  : static
Setter for id
setName()  : static
Setter for name

Properties

$attenuation

The mean attenuation associated for calculation (in dB).

protected array<string|int, mixed>|null $attenuation = null

$id

The Id of the device class.

protected int|null $id = null

$name

The name of the device class.

protected string|null $name = null

Methods

from()

Initializing a model from an array

public static from(array<string|int, mixed> $params) : static
Parameters
$params : array<string|int, mixed>

Pass this parameter if you want to initial property value from an array. See API reference for all property names and types

Tags
throws
DeserializeException

If provided an invalid type to a property

Return values
static

getAttenuation()

Getter for attenuation

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

The mean attenuation associated for calculation (in dB).

getId()

Getter for id

public getId() : int
Return values
int

The Id of the device class.

getName()

Getter for name

public getName() : string
Return values
string

The name of the device class.

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Tags
inheritdoc
Return values
array<string|int, mixed>

setAttenuation()

Setter for attenuation

public setAttenuation(array<string|int, int> $attenuation) : static
Parameters
$attenuation : array<string|int, int>

The mean attenuation associated for calculation (in dB).

Return values
static

To use in method chains

setId()

Setter for id

public setId(int $id) : static
Parameters
$id : int

The Id of the device class.

Return values
static

To use in method chains

setName()

Setter for name

public setName(string $name) : static
Parameters
$name : string

The name of the device class.

Return values
static

To use in method chains

Search results