GlobalCoverageResponse extends Model
Returned data for Global Coverage API
Table of Contents
- $data : array<string|int, mixed>|null
- An array containing the response for each point.
- from() : static
- Initializing a model from an array
- getData() : array<string|int, DataItem>
- Getter for data
- jsonSerialize() : array<string|int, mixed>
- setData() : static
- Setter for data
Properties
$data
An array containing the response for each point.
protected
array<string|int, mixed>|null
$data
= 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 —getData()
Getter for data
public
getData() : array<string|int, DataItem>
Return values
array<string|int, DataItem> —An array containing the response for each point.
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setData()
Setter for data
public
setData(array<string|int, DataItem> $data) : static
Parameters
- $data : array<string|int, DataItem>
-
An array containing the response for each point.
Return values
static —To use in method chains