PHP Sigfox Client

Status extends Model

the informations about the base stations already treated

Table of Contents

$errors  : array<string|int, mixed>|null
reasons of each errors
$success  : int|null
the number of base stations successfully created 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

reasons of each errors

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

$success

the number of base stations successfully created 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>

reasons of each errors

getSuccess()

Getter for success

public getSuccess() : int
Return values
int

the number of base stations successfully created 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>

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 base stations successfully created or transferred

Return values
static

To use in method chains

Search results