TasksApi class

Constructors

TasksApi([ApiClient? apiClient])

Properties

apiClient → ApiClient
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

bulkDeleteTasks(BulkDeleteTasksRequest bulkDeleteTasksRequest) → Future<BulkDeleteTasksResponse?>
Delete multiple tasks in one call.
bulkDeleteTasksWithHttpInfo(BulkDeleteTasksRequest bulkDeleteTasksRequest) → Future<Response>
Delete multiple tasks in one call.
bulkUpdateTasks(BulkUpdateTasksRequest bulkUpdateTasksRequest) → Future<BulkUpdateTasksResponse?>
Apply the same update to multiple tasks.
bulkUpdateTasksWithHttpInfo(BulkUpdateTasksRequest bulkUpdateTasksRequest) → Future<Response>
Apply the same update to multiple tasks.
completeTask(String id, {String? accountId, String? xWorkspaceID}) → Future<SuccessFlag?>
Mark a task complete.
completeTaskWithHttpInfo(String id, {String? accountId, String? xWorkspaceID}) → Future<Response>
Mark a task complete.
createTask(CreateTaskRequest createTaskRequest, {String? accountId, String? provider, String? xWorkspaceID}) → Future<Task?>
Create a task.
createTaskComment(String id, TaskCommentRequest taskCommentRequest, {String? accountId, String? xWorkspaceID}) → Future<TaskCommentMutationResponse?>
Create a comment.
createTaskCommentWithHttpInfo(String id, TaskCommentRequest taskCommentRequest, {String? accountId, String? xWorkspaceID}) → Future<Response>
Create a comment.
createTaskWithHttpInfo(CreateTaskRequest createTaskRequest, {String? accountId, String? provider, String? xWorkspaceID}) → Future<Response>
Create a task.
deleteTask(String id, {String? accountId, String? xWorkspaceID}) → Future<SuccessFlag?>
Delete a task.
deleteTaskComment(String id, String commentId, {String? accountId, String? xWorkspaceID}) → Future<SuccessFlag?>
Delete a task comment.
deleteTaskCommentWithHttpInfo(String id, String commentId, {String? accountId, String? xWorkspaceID}) → Future<Response>
Delete a task comment.
deleteTaskWithHttpInfo(String id, {String? accountId, String? xWorkspaceID}) → Future<Response>
Delete a task.
getTask(String id, {String? accountId, String? xWorkspaceID}) → Future<Task?>
Fetch one task.
getTaskWithHttpInfo(String id, {String? accountId, String? xWorkspaceID}) → Future<Response>
Fetch one task.
listTaskComments(String id, {String? accountId, String? xWorkspaceID}) → Future<TaskCommentList?>
List comments on a task.
listTaskCommentsWithHttpInfo(String id, {String? accountId, String? xWorkspaceID}) → Future<Response>
List comments on a task.
listTaskProviders() → Future<TaskProvidersInfo?>
List supported task providers.
listTaskProvidersWithHttpInfo() → Future<Response>
List supported task providers.
listTasks({String? accountId, String? provider, String? xWorkspaceID, bool? completed, List<String>? labels, String? parentTaskId, String? type, String? sourcePlatform, String? sourceId, int? limit, int? offset}) → Future<TaskListEnvelope?>
List tasks across connected accounts.
listTasksWithHttpInfo({String? accountId, String? provider, String? xWorkspaceID, bool? completed, List<String>? labels, String? parentTaskId, String? type, String? sourcePlatform, String? sourceId, int? limit, int? offset}) → Future<Response>
List tasks across connected accounts.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateTask(String id, UpdateTaskRequest updateTaskRequest, {String? accountId, String? xWorkspaceID}) → Future<Task?>
Update a task (partial).
updateTaskComment(String id, String commentId, TaskCommentRequest taskCommentRequest, {String? accountId, String? xWorkspaceID}) → Future<TaskCommentMutationResponse?>
Edit a task comment.
updateTaskCommentWithHttpInfo(String id, String commentId, TaskCommentRequest taskCommentRequest, {String? accountId, String? xWorkspaceID}) → Future<Response>
Edit a task comment.
updateTaskWithHttpInfo(String id, UpdateTaskRequest updateTaskRequest, {String? accountId, String? xWorkspaceID}) → Future<Response>
Update a task (partial).
workspaceCompleteTask(String org, String workspace, String id) → Future<Map<String, Object>?>
Parameters:
workspaceCompleteTaskAlias(String org, String workspace, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Renderer-compat alias for /tasks/{id}/complete.
workspaceCompleteTaskAliasWithHttpInfo(String org, String workspace, Map<String, Object> requestBody) → Future<Response>
Renderer-compat alias for /tasks/{id}/complete.
workspaceCompleteTaskWithHttpInfo(String org, String workspace, String id) → Future<Response>
Performs an HTTP 'POST /v1/organizations/{org}/workspaces/{workspace}/tasks/{id}/complete' operation and returns the Response. Parameters:
workspaceCreateTask(String org, String workspace, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Parameters:
workspaceCreateTaskAlias(String org, String workspace, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Renderer-compat alias for POST /tasks.
workspaceCreateTaskAliasWithHttpInfo(String org, String workspace, Map<String, Object> requestBody) → Future<Response>
Renderer-compat alias for POST /tasks.
workspaceCreateTaskWithHttpInfo(String org, String workspace, Map<String, Object> requestBody) → Future<Response>
Performs an HTTP 'POST /v1/organizations/{org}/workspaces/{workspace}/tasks' operation and returns the Response. Parameters:
workspaceDeleteTask(String org, String workspace, String id) → Future<void>
Parameters:
workspaceDeleteTaskWithHttpInfo(String org, String workspace, String id) → Future<Response>
Performs an HTTP 'DELETE /v1/organizations/{org}/workspaces/{workspace}/tasks/{id}' operation and returns the Response. Parameters:
workspaceGetTask(String org, String workspace, String id) → Future<Map<String, Object>?>
Parameters:
workspaceGetTaskWithHttpInfo(String org, String workspace, String id) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/tasks/{id}' operation and returns the Response. Parameters:
workspaceListTaskProviders(String org, String workspace) → Future<Map<String, Object>?>
Parameters:
workspaceListTaskProvidersWithHttpInfo(String org, String workspace) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/tasks/providers' operation and returns the Response. Parameters:
workspaceListTasks(String org, String workspace) → Future<Map<String, Object>?>
Parameters:
workspaceListTasksAlias(String org, String workspace) → Future<Map<String, Object>?>
Renderer-compat alias for /tasks.
workspaceListTasksAliasWithHttpInfo(String org, String workspace) → Future<Response>
Renderer-compat alias for /tasks.
workspaceListTasksWithHttpInfo(String org, String workspace) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/tasks' operation and returns the Response. Parameters:
workspaceUpdateTask(String org, String workspace, String id, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Parameters:
workspaceUpdateTaskAlias(String org, String workspace, String id, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Renderer-compat alias for PATCH /tasks/{id}.
workspaceUpdateTaskAliasWithHttpInfo(String org, String workspace, String id, Map<String, Object> requestBody) → Future<Response>
Renderer-compat alias for PATCH /tasks/{id}.
workspaceUpdateTaskWithHttpInfo(String org, String workspace, String id, Map<String, Object> requestBody) → Future<Response>
Performs an HTTP 'PATCH /v1/organizations/{org}/workspaces/{workspace}/tasks/{id}' operation and returns the Response. Parameters:

Operators

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