PHP Sigfox Client

RedundancyResponse extends Model

Returned data for Service Coverage Redundancy API

Table of Contents

$redundancy  : int|null
The base station redundancy, 0 = none, 1 = 1 base station, 2 = 2 base stations, 3 = 3 base stations or more
from()  : static
Initializing a model from an array
getRedundancy()  : int
Getter for redundancy
jsonSerialize()  : array<string|int, mixed>
setRedundancy()  : static
Setter for redundancy

Properties

$redundancy

The base station redundancy, 0 = none, 1 = 1 base station, 2 = 2 base stations, 3 = 3 base stations or more

protected int|null $redundancy = 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

getRedundancy()

Getter for redundancy

public getRedundancy() : int
Return values
int

The base station redundancy, 0 = none, 1 = 1 base station, 2 = 2 base stations, 3 = 3 base stations or more

jsonSerialize()

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

setRedundancy()

Setter for redundancy

public setRedundancy(int $redundancy) : static
Parameters
$redundancy : int

The base station redundancy, 0 = none, 1 = 1 base station, 2 = 2 base stations, 3 = 3 base stations or more

Return values
static

To use in method chains

Search results