BulkDeviceAsynchronousRequest extends Model
Defines the the common information shared by the devices created in an ansychronous bulk request
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
- $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
$data
protected
array<string|int, mixed>|null
$data
= null
$deviceTypeId
The identifier of the device type under which the new devices will be created
protected
string|null
$deviceTypeId
= null
$prefix
Prefix to used in device name
protected
string|null
$prefix
= null
$productCertificate
protected
CertificateUpdate|null
$productCertificate
= null
$prototype
Value describing if the devices are prototypes
protected
bool|null
$prototype
= 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
Return values
static —getData()
Getter for data
public
getData() : array<string|int, DataItem>
Return values
array<string|int, DataItem> —getDeviceTypeId()
Getter for deviceTypeId
public
getDeviceTypeId() : string
Return values
string —The identifier of the device type under which the new devices will be created
getPrefix()
Getter for prefix
public
getPrefix() : string
Return values
string —Prefix to used in device name
getProductCertificate()
Getter for productCertificate
public
getProductCertificate() : CertificateUpdate
Return values
CertificateUpdate —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
Return values
array<string|int, mixed> —setData()
Setter for data
public
setData(array<string|int, DataItem> $data) : static
Parameters
- $data : array<string|int, DataItem>
Return values
static —To use in method chains
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
setProductCertificate()
Setter for productCertificate
public
setProductCertificate(CertificateUpdate $productCertificate) : static
Parameters
- $productCertificate : CertificateUpdate
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