-
public final class DevicesApi
-
-
Constructor Summary
Constructors Constructor Description DevicesApi(KtorClient api)
-
Method Summary
Modifier and Type Method Description final Response<Unit>
deleteDevice(String id)
Deletes a device. final Response<DeviceInfo>
getDeviceInfo(String id)
Get info for a device. final Response<DeviceOptions>
getDeviceOptions(String id)
Get options for a device. final Response<DeviceInfoQueryResult>
getDevices(Boolean supportsSync, UUID userId)
Get Devices. final Response<Unit>
updateDeviceOptions(String id, DeviceOptions data)
Update device options. -
-
Constructor Detail
-
DevicesApi
DevicesApi(KtorClient api)
-
-
Method Detail
-
deleteDevice
final Response<Unit> deleteDevice(String id)
Deletes a device.
- Parameters:
id
- Device Id.
-
getDeviceInfo
final Response<DeviceInfo> getDeviceInfo(String id)
Get info for a device.
- Parameters:
id
- Device Id.
-
getDeviceOptions
final Response<DeviceOptions> getDeviceOptions(String id)
Get options for a device.
- Parameters:
id
- Device Id.
-
getDevices
final Response<DeviceInfoQueryResult> getDevices(Boolean supportsSync, UUID userId)
Get Devices.
- Parameters:
supportsSync
- Gets or sets a value indicating whether supports synchronize.userId
- Gets or sets the user identifier.
-
updateDeviceOptions
final Response<Unit> updateDeviceOptions(String id, DeviceOptions data)
Update device options.
- Parameters:
id
- Device Id.
-
-
-
-