DeviceApi class

Constructors

DeviceApi([ApiClientInterface? apiClient])

Properties

apiClient → ApiClientInterface
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteLicense({String? uuidToken}) Future<void>
Deletes license key
deleteLicenseWithHttpInfo({String? uuidToken}) Future<Response>
Deletes license key
getDeviceConfig({String? uuidToken}) Future<DeviceConfiguration?>
Get device configuration
getDeviceConfigWithHttpInfo({String? uuidToken}) Future<Response>
Get device configuration
getDeviceInfo({String? uuidToken}) Future<DeviceInfo?>
Get infos about the device
getDeviceInfoWithHttpInfo({String? uuidToken}) Future<Response>
Get infos about the device
getDeviceStatus({String? uuidToken}) Future<DeviceBriefing?>
Briefing about the device status
getDeviceStatusWithHttpInfo({String? uuidToken}) Future<Response>
Briefing about the device status
getLicense({String? uuidToken}) Future<License?>
Get active license
getLicenseWithHttpInfo({String? uuidToken}) Future<Response>
Get active license
getResourcesUsage({String? uuidToken}) Future<Resources?>
Get device resource usage
getResourcesUsageWithHttpInfo({String? uuidToken}) Future<Response>
Get device resource usage
listDeviceLeds({String? uuidToken}) Future<List<Led>?>
List device's leds
listDeviceLedsWithHttpInfo({String? uuidToken}) Future<Response>
List device's leds
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetDevice({String? uuidToken}) Future<void>
Reset device to factory settings
resetDeviceWithHttpInfo({String? uuidToken}) Future<Response>
Reset device to factory settings
restartDevice({String? mode, String? uuidToken}) Future<void>
Restart the device
restartDeviceWithHttpInfo({String? mode, String? uuidToken}) Future<Response>
Restart the device
setLicense(LicenseToken licenseToken, {bool? dryrun, String? uuidToken}) Future<License?>
Set license key
setLicenseWithHttpInfo(LicenseToken licenseToken, {bool? dryrun, String? uuidToken}) Future<Response>
Set license key
testLed({String? uuidToken, LedTest? ledTest}) Future<void>
Led test
testLedWithHttpInfo({String? uuidToken, LedTest? ledTest}) Future<Response>
Led test
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited