rebootDevices abstract method

  1. @Get()
Future<Response<AlifResponse<Map<String, dynamic>>>> rebootDevices({
  1. @Query() required String ids,
  2. @Query() required String token,
  3. @Query('v') int version = 7,
  4. @Query() String method = 'reboot_devices',
})

Sends a reboot command to the specified devices.

Implementation

@Get()
Future<Response<AlifResponse<Map<String, dynamic>>>> rebootDevices({
  /// A comma-separated list of IDs of the devices to be rebooted
  @Query() required String ids,

  /// Authentication token of a currently logged-in user (active session)
  @Query() required String token,

  /// The AIM API version this request is designed for
  @Query('v') int version = 7,

  /// The remote procedure to call. Do not edit this
  @Query() String method = 'reboot_devices',
});