PHP Sigfox Client

TokenUnsubscribe extends Model

Table of Contents

$unsubscriptionTime  : int|null
Timestamp of token unsubscription date (in milliseconds since the Unix Epoch)
from()  : static
Initializing a model from an array
getUnsubscriptionTime()  : int
Getter for unsubscriptionTime
jsonSerialize()  : array<string|int, mixed>
setUnsubscriptionTime()  : static
Setter for unsubscriptionTime

Properties

$unsubscriptionTime

Timestamp of token unsubscription date (in milliseconds since the Unix Epoch)

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

getUnsubscriptionTime()

Getter for unsubscriptionTime

public getUnsubscriptionTime() : int
Return values
int

Timestamp of token unsubscription date (in milliseconds since the Unix Epoch)

jsonSerialize()

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

setUnsubscriptionTime()

Setter for unsubscriptionTime

public setUnsubscriptionTime(int $unsubscriptionTime) : static
Parameters
$unsubscriptionTime : int

Timestamp of token unsubscription date (in milliseconds since the Unix Epoch)

Return values
static

To use in method chains

Search results