Devices
Table of Contents
- bulk() : DevicesBulk
- create() : string
- Create a new device.
- find() : DevicesId
- Find by id
- list() : PaginateResponse<Device, DevicesListResponse>
- Retrieve a list of devices according to visibility permissions and request filters.
Methods
bulk()
public
bulk() : DevicesBulk
Return values
DevicesBulk —create()
Create a new device.
public
create(DeviceCreationJob|array<string|int, mixed>|null $device) : string
Parameters
- $device : DeviceCreationJob|array<string|int, mixed>|null
-
The device to create
Tags
Return values
string —The device's identifier (hexadecimal format)
find()
Find by id
public
find(string $id) : DevicesId
Parameters
- $id : string
-
The Device identifier (hexadecimal format)
Return values
DevicesId —list()
Retrieve a list of devices according to visibility permissions and request filters.
public
list([DevicesList|array<string|int, mixed>|null $request = null ]) : PaginateResponse<Device, DevicesListResponse>
Parameters
- $request : DevicesList|array<string|int, mixed>|null = null
-
The query and body parameters to pass
Tags
Return values
PaginateResponse<Device, DevicesListResponse> —First generic parameter is the item type and the second type is the original response type.