TimesheetsResource class

The timesheets endpoints with client already applied.

Constructors

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

createTimesheet(Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Timesheets>>
POST /api/{api_version}/timesheets
deleteTimesheet(Object createdTimesheetId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
DELETE /api/{api_version}/timesheets/{timesheet_id}
getTimesheet(Object timesheetId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Timesheets>>
GET /api/{api_version}/timesheets/{timesheet_id}
getTimesheets({Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<TimesheetList>>
GET /api/{api_version}/timesheets
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateTimesheet(Object createdTimesheetId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Timesheets>>
PATCH /api/{api_version}/timesheets/{timesheet_id}

Operators

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