kemApiV3DevicesIdCommandsCommandIdGet method

Future<Response<CommandTaskDTO>> kemApiV3DevicesIdCommandsCommandIdGet({
  1. required int? id,
  2. required String? commandId,
})

Get a command task by device ID and command ID. Returns 403/404 using the same rules as other device endpoints. Returns 404 if the command is not found or does not belong to the device. @param id @param commandId

Implementation

Future<chopper.Response<CommandTaskDTO>>
    kemApiV3DevicesIdCommandsCommandIdGet({
  required int? id,
  required String? commandId,
}) {
  generatedMapping.putIfAbsent(
      CommandTaskDTO, () => CommandTaskDTO.fromJsonFactory);

  return _kemApiV3DevicesIdCommandsCommandIdGet(id: id, commandId: commandId);
}