GeolocPayloadConfig extends Model
When the payload display type is set to Geolocation for a Device Type, the geolocationPayloadConfig represents the format of the payload that the devices will use. Only recognized formats will be displayed. If you have a device with a GPS capable modem, please contact your device/modem manufacturer to get the suitable GeolocationPayloadConfig if any.
Table of Contents
- $id : string|null
- Geolocation payload id
- $name : string|null
- Geolocation payload name
- from() : static
- Initializing a model from an array
- getId() : string
- Getter for id
- getName() : string
- Getter for name
- jsonSerialize() : array<string|int, mixed>
- setId() : static
- Setter for id
- setName() : static
- Setter for name
Properties
$id
Geolocation payload id
protected
string|null
$id
= null
$name
Geolocation payload name
protected
string|null
$name
= 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 —getId()
Getter for id
public
getId() : string
Return values
string —Geolocation payload id
getName()
Getter for name
public
getName() : string
Return values
string —Geolocation payload name
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setId()
Setter for id
public
setId(string $id) : static
Parameters
- $id : string
-
Geolocation payload id
Return values
static —To use in method chains
setName()
Setter for name
public
setName(string $name) : static
Parameters
- $name : string
-
Geolocation payload name
Return values
static —To use in method chains