TaskCommentService
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
httpRequest: BaseHttpRequest
Returns TaskCommentService
Properties
publicreadonlyhttpRequest
Methods
publictaskCommentCreate
Parameters
__namedParameters: { requestBody: AddTaskCommentParam }
Returns CancelablePromise<{ data?: AddTaskCommentResponse }>
any Successfully commented on the task.
publictaskCommentList
List out task comments
Bot-compatible
Lists out a given number of comments on a task. This method uses the Swit API's pagination scheme.Parameters
__namedParameters: { bodyType?: plain | json_string; limit?: number; offset?: string; taskId: string }
Returns CancelablePromise<{ data?: GetTaskCommentResponse }>
any Successfully retrieved the comments.
publictaskCommentRemove
Delete a task comment
Bot-compatible
Deletes a comment on a task.Parameters
__namedParameters: { requestBody: DelTaskCommentParam }
Returns CancelablePromise<any>
any Successfully deleted the comment.
publictaskCommentUpdate
Edit a task comment
Bot-compatible
Edits a comment on a task.Parameters
__namedParameters: { requestBody: PutTaskCommentParam }
Returns CancelablePromise<{ data?: PutTaskCommentResponse }>
any Successfully edited the comment.
Comment on a task
Bot-compatible
Posts a comment on a task.ApiError