PHP Sigfox Client

ActionJob extends Model

Table of Contents

$jobDone  : bool|null
If the job is finished or not
$status  : Status|null
the informations about the devices already treated
from()  : static
Initializing a model from an array
getJobDone()  : bool
Getter for jobDone
getStatus()  : Status
Getter for status
jsonSerialize()  : array<string|int, mixed>
setJobDone()  : static
Setter for jobDone
setStatus()  : static
Setter for status

Properties

$jobDone

If the job is finished or not

protected bool|null $jobDone = null

$status

the informations about the devices already treated

protected Status|null $status = 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
throws
DeserializeException

If provided an invalid type to a property

Return values
static

getJobDone()

Getter for jobDone

public getJobDone() : bool
Return values
bool

If the job is finished or not

getStatus()

Getter for status

public getStatus() : Status
Return values
Status

the informations about the devices already treated

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Tags
inheritdoc
Return values
array<string|int, mixed>

setJobDone()

Setter for jobDone

public setJobDone(bool $jobDone) : static
Parameters
$jobDone : bool

If the job is finished or not

Return values
static

To use in method chains

setStatus()

Setter for status

public setStatus(Status $status) : static
Parameters
$status : Status

the informations about the devices already treated

Return values
static

To use in method chains

Search results