PHP Sigfox Client

SingleDeviceFields

Table of Contents

$activable  : bool|null
true if the device is activable and can take a token. Not used if the device has already a token
$automaticRenewal  : bool|null
Allow token renewal ?
$lat  : float|null
The device's provided latitude
$lng  : float|null
The device's provided longitude
$productCertificate  : CertificateUpdate|null
$prototype  : bool|null
If the device is a prototype or not
getActivable()  : bool
Getter for activable
getAutomaticRenewal()  : bool
Getter for automaticRenewal
getLat()  : float
Getter for lat
getLng()  : float
Getter for lng
getProductCertificate()  : CertificateUpdate
Getter for productCertificate
getPrototype()  : bool
Getter for prototype
setActivable()  : static
Setter for activable
setAutomaticRenewal()  : static
Setter for automaticRenewal
setLat()  : static
Setter for lat
setLng()  : static
Setter for lng
setProductCertificate()  : static
Setter for productCertificate
setPrototype()  : static
Setter for prototype

Properties

$activable

true if the device is activable and can take a token. Not used if the device has already a token

protected bool|null $activable = null

$automaticRenewal

Allow token renewal ?

protected bool|null $automaticRenewal = null

$prototype

If the device is a prototype or not

protected bool|null $prototype = null

Methods

getActivable()

Getter for activable

public getActivable() : bool
Return values
bool

true if the device is activable and can take a token. Not used if the device has already a token

getAutomaticRenewal()

Getter for automaticRenewal

public getAutomaticRenewal() : bool
Return values
bool

Allow token renewal ?

getLat()

Getter for lat

public getLat() : float
Return values
float

The device's provided latitude

getLng()

Getter for lng

public getLng() : float
Return values
float

The device's provided longitude

getPrototype()

Getter for prototype

public getPrototype() : bool
Return values
bool

If the device is a prototype or not

setActivable()

Setter for activable

public setActivable(bool $activable) : static
Parameters
$activable : bool

true if the device is activable and can take a token. Not used if the device has already a token

Return values
static

To use in method chains

setAutomaticRenewal()

Setter for automaticRenewal

public setAutomaticRenewal(bool $automaticRenewal) : static
Parameters
$automaticRenewal : bool

Allow token renewal ?

Return values
static

To use in method chains

setLat()

Setter for lat

public setLat(float $lat) : static
Parameters
$lat : float

The device's provided latitude

Return values
static

To use in method chains

setLng()

Setter for lng

public setLng(float $lng) : static
Parameters
$lng : float

The device's provided longitude

Return values
static

To use in method chains

setPrototype()

Setter for prototype

public setPrototype(bool $prototype) : static
Parameters
$prototype : bool

If the device is a prototype or not

Return values
static

To use in method chains

Search results