PHP Sigfox Client

CbStatus extends Model

Table of Contents

$cbDef  : string|null
callback definition triggered
$info  : string|null
http response message
$status  : int|null
http response status
$time  : int|null
time the callback was called (in milliseconds since the Unix Epoch)
from()  : static
Initializing a model from an array
getCbDef()  : string
Getter for cbDef
getInfo()  : string
Getter for info
getStatus()  : int
Getter for status
getTime()  : int
Getter for time
jsonSerialize()  : array<string|int, mixed>
setCbDef()  : static
Setter for cbDef
setInfo()  : static
Setter for info
setStatus()  : static
Setter for status
setTime()  : static
Setter for time

Properties

$cbDef

callback definition triggered

protected string|null $cbDef = null

$info

http response message

protected string|null $info = null

$status

http response status

protected int|null $status = null

$time

time the callback was called (in milliseconds since the Unix Epoch)

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

getCbDef()

Getter for cbDef

public getCbDef() : string
Return values
string

callback definition triggered

getInfo()

Getter for info

public getInfo() : string
Return values
string

http response message

getStatus()

Getter for status

public getStatus() : int
Return values
int

http response status

getTime()

Getter for time

public getTime() : int
Return values
int

time the callback was called (in milliseconds since the Unix Epoch)

jsonSerialize()

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

setCbDef()

Setter for cbDef

public setCbDef(string $cbDef) : static
Parameters
$cbDef : string

callback definition triggered

Return values
static

To use in method chains

setInfo()

Setter for info

public setInfo(string $info) : static
Parameters
$info : string

http response message

Return values
static

To use in method chains

setStatus()

Setter for status

public setStatus(int $status) : static
Parameters
$status : int

http response status

Return values
static

To use in method chains

setTime()

Setter for time

public setTime(int $time) : static
Parameters
$time : int

time the callback was called (in milliseconds since the Unix Epoch)

Return values
static

To use in method chains

Search results