DevicesBulkReplace extends Request
Replace multiple devices (moving tokens from one device to another) with synchronous job
Table of Contents
- $devicePairs : AsynchronousDeviceReplacementJob|null
- Pairs of source and target devices
- from() : static
- Initializing a model from an array
- jsonSerialize() : array<string|int, mixed>
- setDevicePairs() : static
- Setter for devicePairs
Properties
$devicePairs
Pairs of source and target devices
protected
AsynchronousDeviceReplacementJob|null
$devicePairs
= 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> —setDevicePairs()
Setter for devicePairs
public
setDevicePairs(AsynchronousDeviceReplacementJob $devicePairs) : static
Parameters
- $devicePairs : AsynchronousDeviceReplacementJob
-
Pairs of source and target devices
Return values
static —To use in method chains