AlertsResource class

The alerts endpoints with client already applied.

Constructors

AlertsResource(ExsitedClient client)
Bind the resource to a client; normally reached via client.alerts.
const

Properties

client → ExsitedClient
The client every call below is made through.
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

getAlert(Object alertId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
GET /api/{api_version}/alerts/{alert_id}
getAlerts({Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Alerts>>
GET /api/{api_version}/alerts
getAlertsAccountById(Object accountId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Alerts>>
GET /api/{api_version}/alerts/account/{account_id}
getAlertsEmployeeById(Object employeeId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<AlertsEmployeeByIdList>>
GET /api/{api_version}/alerts/employee/{employee_id}
getAlertsLabourById(Object labourId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<AlertsLabourByIdList>>
GET /api/{api_version}/alerts/labour/{labour_id}
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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