PHP Sigfox Client

RegistrationJobStatus extends Model

Table of Contents

$jobDone  : bool|null
If the job is finished or not
$status  : Status|null
The information about the devices already processed
$total  : int|null
The total number of devices given to be created
from()  : static
Initializing a model from an array
getJobDone()  : bool
Getter for jobDone
getStatus()  : Status
Getter for status
getTotal()  : int
Getter for total
jsonSerialize()  : array<string|int, mixed>
setJobDone()  : static
Setter for jobDone
setStatus()  : static
Setter for status
setTotal()  : static
Setter for total

Properties

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

getTotal()

Getter for total

public getTotal() : int
Return values
int

The total number of devices given to be created

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 information about the devices already processed

Return values
static

To use in method chains

setTotal()

Setter for total

public setTotal(int $total) : static
Parameters
$total : int

The total number of devices given to be created

Return values
static

To use in method chains

Search results