PHP Sigfox Client

Status extends Model

The information about the devices already processed

Table of Contents

$errors  : array<string|int, mixed>|null
reasons of each errors
$success  : int|null
The number of devices successfully replaced
from()  : static
Initializing a model from an array
getErrors()  : array<string|int, JobError>
Getter for errors
getSuccess()  : int
Getter for success
jsonSerialize()  : array<string|int, mixed>
setErrors()  : static
Setter for errors
setSuccess()  : static
Setter for success

Properties

$errors

reasons of each errors

protected array<string|int, mixed>|null $errors = null

$success

The number of devices successfully replaced

protected int|null $success = 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

getErrors()

Getter for errors

public getErrors() : array<string|int, JobError>
Return values
array<string|int, JobError>

reasons of each errors

getSuccess()

Getter for success

public getSuccess() : int
Return values
int

The number of devices successfully replaced

jsonSerialize()

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

setErrors()

Setter for errors

public setErrors(array<string|int, JobError$errors) : static
Parameters
$errors : array<string|int, JobError>

reasons of each errors

Return values
static

To use in method chains

setSuccess()

Setter for success

public setSuccess(int $success) : static
Parameters
$success : int

The number of devices successfully replaced

Return values
static

To use in method chains

Search results