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: unknown class>>

Get info for a device.

Link copied to clipboard
suspend fun getDeviceOptions(id: String): Response<<Error class: unknown class>>

Get options for a device.

Link copied to clipboard
suspend fun getDevices(userId: <Error class: unknown class>? = null): Response<<Error class: unknown class>>

Get Devices.

Link copied to clipboard
suspend fun updateDeviceOptions(id: String, data: <Error class: unknown class>): Response<Unit>

Update device options.