DevicesBulkRestart extends Request
Restart multiple devices with asynchronous job.
Table of Contents
- $devices : DeviceActionJob|null
- list of device's identifier (hexadecimal format)
- $groupId : string|null
- Group Identifier use to restart multiple devices
- from() : static
- Initializing a model from an array
- jsonSerialize() : array<string|int, mixed>
- setDevices() : static
- Setter for devices
- setGroupId() : static
- Setter for groupId
Properties
$devices
list of device's identifier (hexadecimal format)
protected
DeviceActionJob|null
$devices
= null
$groupId
Group Identifier use to restart multiple devices
protected
string|null
$groupId
= 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(DeviceActionJob $devices) : static
Parameters
- $devices : DeviceActionJob
-
list of device's identifier (hexadecimal format)
Return values
static —To use in method chains
setGroupId()
Setter for groupId
public
setGroupId(string $groupId) : static
Parameters
- $groupId : string
-
Group Identifier use to restart multiple devices
Return values
static —To use in method chains