DevicesBulkCreate extends Request
Create multiple new devices with asynchronous job
Table of Contents
- $devices : AsynchronousDeviceCreationJob|null
- The devices to create
- from() : static
- Initializing a model from an array
- jsonSerialize() : array<string|int, mixed>
- setDevices() : static
- Setter for devices
Properties
$devices
The devices to create
protected
AsynchronousDeviceCreationJob|null
$devices
= 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 —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setDevices()
Setter for devices
public
setDevices(AsynchronousDeviceCreationJob $devices) : static
Parameters
- $devices : AsynchronousDeviceCreationJob
-
The devices to create
Return values
static —To use in method chains