ErrorMessages 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 definitions for an exhaustive list.
- $snr : string|null
- The SNR of the messages received by the network so far.
- $status : string|null
- Contains the callback response status.
- $time : int|null
- Timestamp of the message (posix format)
- 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
- getSnr() : string
- Getter for snr
- 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
- setSnr() : static
- Setter for snr
- setStatus() : static
- Setter for status
- setTime() : static
- Setter for time
Properties
$callback
protected
CallbackMedium|null
$callback
= null
$data
Data message
protected
string|null
$data
= null
$deviceId
Device identifier
protected
string|null
$deviceId
= null
$deviceTypeId
Device type identifier
protected
string|null
$deviceTypeId
= null
$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 definitions for an exhaustive list.
protected
array<string|int, mixed>|null
$parameters
= null
$snr
The SNR of the messages received by the network so far.
protected
string|null
$snr
= null
$status
Contains the callback response status.
protected
string|null
$status
= null
$time
Timestamp of the message (posix format)
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
Return values
static —getCallback()
Getter for callback
public
getCallback() : CallbackMedium
Return values
CallbackMedium —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 definitions for an exhaustive list.
getSnr()
Getter for snr
public
getSnr() : string
Return values
string —The SNR of the messages received by the network so far.
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 (posix format)
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setCallback()
Setter for callback
public
setCallback(CallbackMedium $callback) : static
Parameters
- $callback : CallbackMedium
Return values
static —To use in method chains
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 definitions for an exhaustive list.
Return values
static —To use in method chains
setSnr()
Setter for snr
public
setSnr(string $snr) : static
Parameters
- $snr : string
-
The SNR of the messages received by the network so far.
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 (posix format)
Return values
static —To use in method chains