PHP Sigfox Client

MinAntenna extends Model

Defines the antenna properties

Table of Contents

$model  : string|null
Antenna model
from()  : static
Initializing a model from an array
getModel()  : string
Getter for model
jsonSerialize()  : array<string|int, mixed>
setModel()  : static
Setter for model

Properties

$model

Antenna model

protected string|null $model = 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

getModel()

Getter for model

public getModel() : string
Return values
string

Antenna model

jsonSerialize()

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

setModel()

Setter for model

public setModel(string $model) : static
Parameters
$model : string

Antenna model

Return values
static

To use in method chains

Search results