DevicesBulkUnsubscribe extends Request
Unsubscribe multiple devices with asynchronous job.
Table of Contents
- $devices : BulkUnsubscribe|null
- array of device's identifier (hexadecimal format) with unsubscribtion time
- $groupId : string|null
- Group Identifier use to unsubscribe 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
array of device's identifier (hexadecimal format) with unsubscribtion time
protected
BulkUnsubscribe|null
$devices
= null
$groupId
Group Identifier use to unsubscribe 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(BulkUnsubscribe $devices) : static
Parameters
- $devices : BulkUnsubscribe
-
array of device's identifier (hexadecimal format) with unsubscribtion time
Return values
static —To use in method chains
setGroupId()
Setter for groupId
public
setGroupId(string $groupId) : static
Parameters
- $groupId : string
-
Group Identifier use to unsubscribe multiple devices
Return values
static —To use in method chains