getAlert function

Future<ApiResponse<Object?>> getAlert(
  1. ExsitedClient client,
  2. Object alertId, {
  3. Map<String, Object?>? queryParams,
  4. bool? raiseOnError,
  5. String? responseFormat,
})

GET /api/{api_version}/alerts/{alert_id}

No typed view: no 2xx response was recorded for it. Read response.map.

Implementation

Future<ApiResponse<Object?>> getAlert(
  ExsitedClient client,
  Object alertId, {
  Map<String, Object?>? queryParams,
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendGetRequest(AlertsUrls.alert,
        pathParams: {'alert_id': alertId},
        queryParams: queryParams,
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);