DevicesApi

class DevicesApi(api: ApiClient) : Api

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun deleteDevice(id: String): Response<Unit>

Deletes a device.

Link copied to clipboard
suspend fun getDeviceInfo(id: String): Response<ERROR CLASS: Symbol not found for DeviceInfoDto>

Get info for a device.

Link copied to clipboard
suspend fun getDeviceOptions(id: String): Response<ERROR CLASS: Symbol not found for DeviceOptionsDto>

Get options for a device.

Link copied to clipboard
suspend fun getDevices(userId: ERROR CLASS: Symbol not found for UUID?? = null): Response<ERROR CLASS: Symbol not found for DeviceInfoDtoQueryResult>

Get Devices.

Link copied to clipboard
suspend fun updateDeviceOptions(id: String, data: ERROR CLASS: Symbol not found for DeviceOptionsDto): Response<Unit>

Update device options.