PHP Sigfox Client

DeviceErrorMessages extends Model

Table of Contents

$callback  : CallbackMedium|null
$data  : string|null
Data message
$deviceId  : string|null
Device identifier
$deviceTypeId  : string|null
Device type identifier
$message  : string|null
Contains additional information on the response.
$parameters  : array<string|int, mixed>|null
All the parameters which have served to build the callback, see callback doc for an exhaustive list.
$status  : string|null
Contains the callback response status.
$time  : int|null
Timestamp of the message (in milliseconds since the Unix Epoch)
from()  : static
Initializing a model from an array
getCallback()  : CallbackMedium
Getter for callback
getData()  : string
Getter for data
getDeviceId()  : string
Getter for deviceId
getDeviceTypeId()  : string
Getter for deviceTypeId
getMessage()  : string
Getter for message
getParameters()  : array<string|int, mixed>
Getter for parameters
getStatus()  : string
Getter for status
getTime()  : int
Getter for time
jsonSerialize()  : array<string|int, mixed>
setCallback()  : static
Setter for callback
setData()  : static
Setter for data
setDeviceId()  : static
Setter for deviceId
setDeviceTypeId()  : static
Setter for deviceTypeId
setMessage()  : static
Setter for message
setParameters()  : static
Setter for parameters
setStatus()  : static
Setter for status
setTime()  : static
Setter for time

Properties

$message

Contains additional information on the response.

protected string|null $message = null

$parameters

All the parameters which have served to build the callback, see callback doc for an exhaustive list.

protected array<string|int, mixed>|null $parameters = null

$time

Timestamp of the message (in milliseconds since the Unix Epoch)

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

getData()

Getter for data

public getData() : string
Return values
string

Data message

getDeviceId()

Getter for deviceId

public getDeviceId() : string
Return values
string

Device identifier

getDeviceTypeId()

Getter for deviceTypeId

public getDeviceTypeId() : string
Return values
string

Device type identifier

getMessage()

Getter for message

public getMessage() : string
Return values
string

Contains additional information on the response.

getParameters()

Getter for parameters

public getParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

All the parameters which have served to build the callback, see callback doc for an exhaustive list.

getStatus()

Getter for status

public getStatus() : string
Return values
string

Contains the callback response status.

getTime()

Getter for time

public getTime() : int
Return values
int

Timestamp of the message (in milliseconds since the Unix Epoch)

jsonSerialize()

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

setData()

Setter for data

public setData(string $data) : static
Parameters
$data : string

Data message

Return values
static

To use in method chains

setDeviceId()

Setter for deviceId

public setDeviceId(string $deviceId) : static
Parameters
$deviceId : string

Device identifier

Return values
static

To use in method chains

setDeviceTypeId()

Setter for deviceTypeId

public setDeviceTypeId(string $deviceTypeId) : static
Parameters
$deviceTypeId : string

Device type identifier

Return values
static

To use in method chains

setMessage()

Setter for message

public setMessage(string $message) : static
Parameters
$message : string

Contains additional information on the response.

Return values
static

To use in method chains

setParameters()

Setter for parameters

public setParameters(array<string|int, mixed> $parameters) : static
Parameters
$parameters : array<string|int, mixed>

All the parameters which have served to build the callback, see callback doc for an exhaustive list.

Return values
static

To use in method chains

setStatus()

Setter for status

public setStatus(string $status) : static
Parameters
$status : string

Contains the callback response status.

Return values
static

To use in method chains

setTime()

Setter for time

public setTime(int $time) : static
Parameters
$time : int

Timestamp of the message (in milliseconds since the Unix Epoch)

Return values
static

To use in method chains

Search results