public class TaskCommentApi extends Object
Constructor and Description |
---|
TaskCommentApi() |
TaskCommentApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
CommentDto |
createComment(String id,
CommentDto commentDto)
Create
Creates a comment for a task by id.
|
okhttp3.Call |
createCommentAsync(String id,
CommentDto commentDto,
ApiCallback<CommentDto> _callback)
Create (asynchronously)
Creates a comment for a task by id.
|
okhttp3.Call |
createCommentCall(String id,
CommentDto commentDto,
ApiCallback _callback)
Build call for createComment
|
ApiResponse<CommentDto> |
createCommentWithHttpInfo(String id,
CommentDto commentDto)
Create
Creates a comment for a task by id.
|
ApiClient |
getApiClient() |
CommentDto |
getComment(String id,
String commentId)
Get
Retrieves a task comment by task id and comment id.
|
okhttp3.Call |
getCommentAsync(String id,
String commentId,
ApiCallback<CommentDto> _callback)
Get (asynchronously)
Retrieves a task comment by task id and comment id.
|
okhttp3.Call |
getCommentCall(String id,
String commentId,
ApiCallback _callback)
Build call for getComment
|
List<CommentDto> |
getComments(String id)
Get List
Gets the comments for a task by id.
|
okhttp3.Call |
getCommentsAsync(String id,
ApiCallback<List<CommentDto>> _callback)
Get List (asynchronously)
Gets the comments for a task by id.
|
okhttp3.Call |
getCommentsCall(String id,
ApiCallback _callback)
Build call for getComments
|
ApiResponse<List<CommentDto>> |
getCommentsWithHttpInfo(String id)
Get List
Gets the comments for a task by id.
|
ApiResponse<CommentDto> |
getCommentWithHttpInfo(String id,
String commentId)
Get
Retrieves a task comment by task id and comment id.
|
void |
setApiClient(ApiClient apiClient) |
public TaskCommentApi()
public TaskCommentApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createCommentCall(String id, CommentDto commentDto, ApiCallback _callback) throws ApiException
id
- The id of the task to add the comment to. (required)commentDto
- **Note:** Only the `message` and `processInstanceId` properties will be used. Every other property passed to this endpoint will be ignored. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic CommentDto createComment(String id, CommentDto commentDto) throws ApiException
id
- The id of the task to add the comment to. (required)commentDto
- **Note:** Only the `message` and `processInstanceId` properties will be used. Every other property passed to this endpoint will be ignored. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommentDto> createCommentWithHttpInfo(String id, CommentDto commentDto) throws ApiException
id
- The id of the task to add the comment to. (required)commentDto
- **Note:** Only the `message` and `processInstanceId` properties will be used. Every other property passed to this endpoint will be ignored. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createCommentAsync(String id, CommentDto commentDto, ApiCallback<CommentDto> _callback) throws ApiException
id
- The id of the task to add the comment to. (required)commentDto
- **Note:** Only the `message` and `processInstanceId` properties will be used. Every other property passed to this endpoint will be ignored. (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getCommentCall(String id, String commentId, ApiCallback _callback) throws ApiException
id
- The id of the task. (required)commentId
- The id of the comment to be retrieved. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic CommentDto getComment(String id, String commentId) throws ApiException
id
- The id of the task. (required)commentId
- The id of the comment to be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommentDto> getCommentWithHttpInfo(String id, String commentId) throws ApiException
id
- The id of the task. (required)commentId
- The id of the comment to be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getCommentAsync(String id, String commentId, ApiCallback<CommentDto> _callback) throws ApiException
id
- The id of the task. (required)commentId
- The id of the comment to be retrieved. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getCommentsCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the task to retrieve the comments for. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<CommentDto> getComments(String id) throws ApiException
id
- The id of the task to retrieve the comments for. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<CommentDto>> getCommentsWithHttpInfo(String id) throws ApiException
id
- The id of the task to retrieve the comments for. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getCommentsAsync(String id, ApiCallback<List<CommentDto>> _callback) throws ApiException
id
- The id of the task to retrieve the comments for. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2022. All rights reserved.