PHP Sigfox Client

MinHwFamily extends Model

minimal information about Hardware Family.

Table of Contents

ID_ACCESS_STATION_MICRO  = 3
ACCESS STATION MICRO
ID_ACCESS_STATION_MINI  = 2
ACCESS STATION MINI
ID_MINI  = 1
MINI
ID_STANDARD  = 0
STANDARD
$id  : int|null
Base station hardware family id.
$name  : string|null
The hardware family's name
from()  : static
Initializing a model from an array
getId()  : int
Getter for id
getName()  : string
Getter for name
jsonSerialize()  : array<string|int, mixed>
setId()  : static
Setter for id
setName()  : static
Setter for name

Constants

ID_ACCESS_STATION_MICRO

ACCESS STATION MICRO

public mixed ID_ACCESS_STATION_MICRO = 3

ID_ACCESS_STATION_MINI

ACCESS STATION MINI

public mixed ID_ACCESS_STATION_MINI = 2

Properties

$name

The hardware family's name

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

getName()

Getter for name

public getName() : string
Return values
string

The hardware family's name

jsonSerialize()

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

setName()

Setter for name

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

The hardware family's name

Return values
static

To use in method chains

Search results