DeviceClient

class DeviceClient(val client: HttpClient)

Client to access device related functionalities

Constructors

Link copied to clipboard
fun DeviceClient(client: HttpClient)

Functions

Link copied to clipboard
fun create(device: Device): Device

Creates a new device

Link copied to clipboard
fun getSeveral(    model: String? = null,     manufacturer: String? = null,     type: String? = null): List<Device>

Gets several devices based on the provided criteria

Properties

Link copied to clipboard
val client: HttpClient

Ktor HttpClient used to make HTTP requests