PHP Sigfox Client

DevicesIdMessagesList extends Request

Retrieve a list of messages for a given device according to request filters. 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

$before  : int|null
Ending timestamp (in milliseconds since the Unix Epoch)
$fields  : string|null
Defines the other available fields to be returned in the response.
$limit  : int|null
The maximum number of items to return
$offset  : int|null
The number of items to skip
$since  : int|null
Starting timestamp (in milliseconds since the Unix Epoch)
from()  : static
Initializing a model from an array
jsonSerialize()  : array<string|int, mixed>
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

$before

Ending timestamp (in milliseconds since the Unix Epoch)

protected int|null $before = null

$fields

Defines the other available fields to be returned in the response.

protected string|null $fields = null

$since

Starting timestamp (in milliseconds since the 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>

setBefore()

Setter for before

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

Ending timestamp (in milliseconds since the 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 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

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

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 the Unix Epoch)

Return values
static

To use in method chains

Search results