PHP Sigfox Client

ReplaceResponse extends Model

Table of Contents

$status  : Status|null
The information about the devices already processed
$total  : int|null
The total number of devices to be replaced
from()  : static
Initializing a model from an array
getStatus()  : Status
Getter for status
getTotal()  : int
Getter for total
jsonSerialize()  : array<string|int, mixed>
setStatus()  : static
Setter for status
setTotal()  : static
Setter for total

Properties

$total

The total number of devices to be replaced

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
throws
DeserializeException

If provided an invalid type to a property

Return values
static

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 to be replaced

jsonSerialize()

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

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 to be replaced

Return values
static

To use in method chains

Search results