PHP Sigfox Client

Status extends Model

The information about the devices already processed

Table of Contents

$errors  : array<string|int, mixed>|null
Detailed information about each error
$success  : int|null
The number of devices successfully created, edited or transferred
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

Detailed information about each error

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

$success

The number of devices successfully created, edited or transferred

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>

Detailed information about each error

getSuccess()

Getter for success

public getSuccess() : int
Return values
int

The number of devices successfully created, edited or transferred

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>

Detailed information about each error

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 created, edited or transferred

Return values
static

To use in method chains

Search results