PHP Sigfox Client

DeviceTypesIdMessages extends Request

Retrieve a list of messages for a given device types. SNR will be deprecated (see [Newsletter](https://backend.sigfox.com/welcome/news) for details). To monitor radio link quality, please use the [Link Quality Indicator (LQI)](https://support.sigfox.com/docs/link-quality:-general-knowledge) which is more relevant than SNR in Sigfox network.

Table of Contents

$authorizations  : bool|null
if true, we return the list of actions and resources the user has access
$before  : int|null
Ending timestamp (in milliseconds since Unix Epoch).
$fields  : string|null
Defines the other available API user's fields to be returned in the response.
$limit  : int|null
Defines the maximum number of items to return
$offset  : int|null
Defines the number of items to skip
$since  : int|null
Starting timestamp (in milliseconds since Unix Epoch).
from()  : static
Initializing a model from an array
jsonSerialize()  : array<string|int, mixed>
setAuthorizations()  : static
Setter for authorizations
setBefore()  : static
Setter for before
setFields()  : static
Setter for fields
setLimit()  : static
Setter for limit
setOffset()  : static
Setter for offset
setSince()  : static
Setter for since

Properties

$authorizations

if true, we return the list of actions and resources the user has access

protected bool|null $authorizations = null

$before

Ending timestamp (in milliseconds since Unix Epoch).

protected int|null $before = null

$fields

Defines the other available API user's fields to be returned in the response.

protected string|null $fields = null

$since

Starting timestamp (in milliseconds since Unix Epoch).

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

jsonSerialize()

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

setAuthorizations()

Setter for authorizations

public setAuthorizations(bool $authorizations) : static
Parameters
$authorizations : bool

if true, we return the list of actions and resources the user has access

Return values
static

To use in method chains

setBefore()

Setter for before

public setBefore(int $before) : static
Parameters
$before : int

Ending timestamp (in milliseconds since Unix Epoch).

Return values
static

To use in method chains

setFields()

Setter for fields

public setFields(string $fields) : static
Parameters
$fields : string

Defines the other available API user's fields to be returned in the response.

Return values
static

To use in method chains

setLimit()

Setter for limit

public setLimit(int $limit) : static
Parameters
$limit : int

Defines the maximum number of items to return

Return values
static

To use in method chains

setOffset()

Setter for offset

public setOffset(int $offset) : static
Parameters
$offset : int

Defines the number of items to skip

Return values
static

To use in method chains

setSince()

Setter for since

public setSince(int $since) : static
Parameters
$since : int

Starting timestamp (in milliseconds since Unix Epoch).

Return values
static

To use in method chains

Search results