kemApiV3DevicesIdAlertsGet method

Future<Response<List<AlertDTO>>> kemApiV3DevicesIdAlertsGet({
  1. required int? id,
  2. DeviceHostDTO? sourceDeviceHost,
})

@param id @param sourceDeviceHost The cloud architecture which the device is connected to.

Implementation

Future<chopper.Response<List<AlertDTO>>> kemApiV3DevicesIdAlertsGet({
  required int? id,
  enums.DeviceHostDTO? sourceDeviceHost,
}) {
  generatedMapping.putIfAbsent(AlertDTO, () => AlertDTO.fromJsonFactory);

  return _kemApiV3DevicesIdAlertsGet(
      id: id, sourceDeviceHost: sourceDeviceHost?.value?.toString());
}