PHP Sigfox Client

AsynchronousDeviceCreationJob extends BulkDeviceAsynchronousRequest implements ExtendableImpl

Defines the the common information shared by the devices created in an ansychronous bulk request

Interfaces, Classes and Traits

ExtendableImpl

Table of Contents

$data  : array<string|int, mixed>|null
$deviceTypeId  : string|null
The identifier of the device type under which the new devices will be created
$extendable  : bool
$prefix  : string|null
Prefix to used in device name
$productCertificate  : CertificateUpdate|null
$prototype  : bool|null
Value describing if the devices are prototypes
from()  : static
Initializing a model from an array
getData()  : array<string|int, DataItem>
Getter for data
getDeviceTypeId()  : string
Getter for deviceTypeId
getPrefix()  : string
Getter for prefix
getProductCertificate()  : CertificateUpdate
Getter for productCertificate
getPrototype()  : bool
Getter for prototype
jsonSerialize()  : array<string|int, mixed>
setData()  : static
Setter for data
setDeviceTypeId()  : static
Setter for deviceTypeId
setPrefix()  : static
Setter for prefix
setProductCertificate()  : static
Setter for productCertificate
setPrototype()  : static
Setter for prototype

Properties

$deviceTypeId

The identifier of the device type under which the new devices will be created

protected string|null $deviceTypeId = 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

getDeviceTypeId()

Getter for deviceTypeId

public getDeviceTypeId() : string
Return values
string

The identifier of the device type under which the new devices will be created

getPrototype()

Getter for prototype

public getPrototype() : bool
Return values
bool

Value describing if the devices are prototypes

jsonSerialize()

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

setDeviceTypeId()

Setter for deviceTypeId

public setDeviceTypeId(string $deviceTypeId) : static
Parameters
$deviceTypeId : string

The identifier of the device type under which the new devices will be created

Return values
static

To use in method chains

setPrefix()

Setter for prefix

public setPrefix(string $prefix) : static
Parameters
$prefix : string

Prefix to used in device name

Return values
static

To use in method chains

setPrototype()

Setter for prototype

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

Value describing if the devices are prototypes

Return values
static

To use in method chains

Search results