GroupErrorMessages extends Model
Table of Contents
- $callback : GroupCallbackMedium|null
- $data : string|null
- Data message
- $device : string|null
- Device identifier
- $deviceType : string|null
- Device type identifier
- $deviceUrl : string|null
- Url to the device
- $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.
- $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() : GroupCallbackMedium
- Getter for callback
- getData() : string
- Getter for data
- getDevice() : string
- Getter for device
- getDeviceType() : string
- Getter for deviceType
- getDeviceUrl() : string
- Getter for deviceUrl
- 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
- setDevice() : static
- Setter for device
- setDeviceType() : static
- Setter for deviceType
- setDeviceUrl() : static
- Setter for deviceUrl
- 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
GroupCallbackMedium|null
$callback
= null
$data
Data message
protected
string|null
$data
= null
$device
Device identifier
protected
string|null
$device
= null
$deviceType
Device type identifier
protected
string|null
$deviceType
= null
$deviceUrl
Url to the device
protected
string|null
$deviceUrl
= 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 doc 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() : GroupCallbackMedium
Return values
GroupCallbackMedium —getData()
Getter for data
public
getData() : string
Return values
string —Data message
getDevice()
Getter for device
public
getDevice() : string
Return values
string —Device identifier
getDeviceType()
Getter for deviceType
public
getDeviceType() : string
Return values
string —Device type identifier
getDeviceUrl()
Getter for deviceUrl
public
getDeviceUrl() : string
Return values
string —Url to the device
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.
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(GroupCallbackMedium $callback) : static
Parameters
- $callback : GroupCallbackMedium
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
setDevice()
Setter for device
public
setDevice(string $device) : static
Parameters
- $device : string
-
Device identifier
Return values
static —To use in method chains
setDeviceType()
Setter for deviceType
public
setDeviceType(string $deviceType) : static
Parameters
- $deviceType : string
-
Device type identifier
Return values
static —To use in method chains
setDeviceUrl()
Setter for deviceUrl
public
setDeviceUrl(string $deviceUrl) : static
Parameters
- $deviceUrl : string
-
Url to the device
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
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