GlobalCoverageBulkResponse extends Model
Returned data for Bulk Global Coverage API
Table of Contents
- $jobDone : bool|null
- If the job is completed or not
- $results : array<string|int, mixed>|null
- An array containing the response for each point.
- $time : int|null
- the statistics creation time (in milliseconds since the Unix Epoch)
- from() : static
- Initializing a model from an array
- getJobDone() : bool
- Getter for jobDone
- getResults() : array<string|int, ResultsItem>
- Getter for results
- getTime() : int
- Getter for time
- jsonSerialize() : array<string|int, mixed>
- setJobDone() : static
- Setter for jobDone
- setResults() : static
- Setter for results
- setTime() : static
- Setter for time
Properties
$jobDone
If the job is completed or not
protected
bool|null
$jobDone
= null
$results
An array containing the response for each point.
protected
array<string|int, mixed>|null
$results
= null
$time
the statistics creation time (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
Return values
static —getJobDone()
Getter for jobDone
public
getJobDone() : bool
Return values
bool —If the job is completed or not
getResults()
Getter for results
public
getResults() : array<string|int, ResultsItem>
Return values
array<string|int, ResultsItem> —An array containing the response for each point.
getTime()
Getter for time
public
getTime() : int
Return values
int —the statistics creation time (in milliseconds since the Unix Epoch)
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setJobDone()
Setter for jobDone
public
setJobDone(bool $jobDone) : static
Parameters
- $jobDone : bool
-
If the job is completed or not
Return values
static —To use in method chains
setResults()
Setter for results
public
setResults(array<string|int, ResultsItem> $results) : static
Parameters
- $results : array<string|int, ResultsItem>
-
An array containing the response for each point.
Return values
static —To use in method chains
setTime()
Setter for time
public
setTime(int $time) : static
Parameters
- $time : int
-
the statistics creation time (in milliseconds since the Unix Epoch)
Return values
static —To use in method chains