EmployeesResource class

The employees endpoints with client already applied.

Constructors

EmployeesResource(ExsitedClient client)
Bind the resource to a client; normally reached via client.employees.
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

createEmployee(Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Employee>>
POST /api/{api_version}/employees
deleteEmployee(Object employeeId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
DELETE /api/{api_version}/employees/{employee_id}
getEmployee(Object employeeId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Employee>>
GET /api/{api_version}/employees/{employee_id}
getEmployees({Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<EmployeeList>>
GET /api/{api_version}/employees
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateEmployee(Object employeeId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Employee>>
PATCH /api/{api_version}/employees/{employee_id}

Operators

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