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
$jobDone
If the job is finished or not
protected
bool|null
$jobDone
= null
$status
The information about the devices already processed
protected
Status|null
$status
= null
$total
The total number of devices given to be created
protected
int|null
$total
= 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 finished or not
getStatus()
Getter for status
public
getStatus() : Status
Return values
Status —The information about the devices already processed
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
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