DeviceTypes
Table of Contents
- create() : string
- Create a new device type
- find() : DeviceTypesId
- Find by id
- list() : PaginateResponse<DeviceType, DeviceTypesListResponse>
- Retrieve a list of device types according to visibility permissions and request filters.
Methods
create()
Create a new device type
public
create(DeviceTypeCreate|array<string|int, mixed>|null $deviceType) : string
Parameters
- $deviceType : DeviceTypeCreate|array<string|int, mixed>|null
-
The device type to create
Tags
Return values
string —The new created device type's identifier
find()
Find by id
public
find(string $id) : DeviceTypesId
Parameters
- $id : string
-
The Device Type identifier (hexademical format)
Return values
DeviceTypesId —list()
Retrieve a list of device types according to visibility permissions and request filters.
public
list([DeviceTypesList|array<string|int, mixed>|null $request = null ]) : PaginateResponse<DeviceType, DeviceTypesListResponse>
Parameters
- $request : DeviceTypesList|array<string|int, mixed>|null = null
-
The query and body parameters to pass
Tags
Return values
PaginateResponse<DeviceType, DeviceTypesListResponse> —First generic parameter is the item type and the second type is the original response type.