Package org.openapitools.client.api
Class TaskCommentApi
- java.lang.Object
-
- org.openapitools.client.api.TaskCommentApi
-
public class TaskCommentApi extends Object
-
-
Constructor Summary
Constructors Constructor Description TaskCommentApi()TaskCommentApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentDtocreateComment(String id, CommentDto commentDto)Create Creates a comment for a task by id.okhttp3.CallcreateCommentAsync(String id, CommentDto commentDto, ApiCallback<CommentDto> _callback)Create (asynchronously) Creates a comment for a task by id.okhttp3.CallcreateCommentCall(String id, CommentDto commentDto, ApiCallback _callback)Build call for createCommentApiResponse<CommentDto>createCommentWithHttpInfo(String id, CommentDto commentDto)Create Creates a comment for a task by id.ApiClientgetApiClient()CommentDtogetComment(String id, String commentId)Get Retrieves a task comment by task id and comment id.okhttp3.CallgetCommentAsync(String id, String commentId, ApiCallback<CommentDto> _callback)Get (asynchronously) Retrieves a task comment by task id and comment id.okhttp3.CallgetCommentCall(String id, String commentId, ApiCallback _callback)Build call for getCommentList<CommentDto>getComments(String id)Get List Gets the comments for a task by id.okhttp3.CallgetCommentsAsync(String id, ApiCallback<List<CommentDto>> _callback)Get List (asynchronously) Gets the comments for a task by id.okhttp3.CallgetCommentsCall(String id, ApiCallback _callback)Build call for getCommentsApiResponse<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.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
TaskCommentApi
public TaskCommentApi()
-
TaskCommentApi
public TaskCommentApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
createCommentCall
public okhttp3.Call createCommentCall(String id, CommentDto commentDto, ApiCallback _callback) throws ApiException
Build call for createComment- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createComment
public CommentDto createComment(String id, CommentDto commentDto) throws ApiException
Create Creates a comment for a task by id.- Parameters:
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)- Returns:
- CommentDto
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createCommentWithHttpInfo
public ApiResponse<CommentDto> createCommentWithHttpInfo(String id, CommentDto commentDto) throws ApiException
Create Creates a comment for a task by id.- Parameters:
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)- Returns:
- ApiResponse<CommentDto>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createCommentAsync
public okhttp3.Call createCommentAsync(String id, CommentDto commentDto, ApiCallback<CommentDto> _callback) throws ApiException
Create (asynchronously) Creates a comment for a task by id.- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getCommentCall
public okhttp3.Call getCommentCall(String id, String commentId, ApiCallback _callback) throws ApiException
Build call for getComment- Parameters:
id- The id of the task. (required)commentId- The id of the comment to be retrieved. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getComment
public CommentDto getComment(String id, String commentId) throws ApiException
Get Retrieves a task comment by task id and comment id.- Parameters:
id- The id of the task. (required)commentId- The id of the comment to be retrieved. (required)- Returns:
- CommentDto
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCommentWithHttpInfo
public ApiResponse<CommentDto> getCommentWithHttpInfo(String id, String commentId) throws ApiException
Get Retrieves a task comment by task id and comment id.- Parameters:
id- The id of the task. (required)commentId- The id of the comment to be retrieved. (required)- Returns:
- ApiResponse<CommentDto>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCommentAsync
public okhttp3.Call getCommentAsync(String id, String commentId, ApiCallback<CommentDto> _callback) throws ApiException
Get (asynchronously) Retrieves a task comment by task id and comment id.- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getCommentsCall
public okhttp3.Call getCommentsCall(String id, ApiCallback _callback) throws ApiException
Build call for getComments- Parameters:
id- The id of the task to retrieve the comments for. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getComments
public List<CommentDto> getComments(String id) throws ApiException
Get List Gets the comments for a task by id.- Parameters:
id- The id of the task to retrieve the comments for. (required)- Returns:
- List<CommentDto>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCommentsWithHttpInfo
public ApiResponse<List<CommentDto>> getCommentsWithHttpInfo(String id) throws ApiException
Get List Gets the comments for a task by id.- Parameters:
id- The id of the task to retrieve the comments for. (required)- Returns:
- ApiResponse<List<CommentDto>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCommentsAsync
public okhttp3.Call getCommentsAsync(String id, ApiCallback<List<CommentDto>> _callback) throws ApiException
Get List (asynchronously) Gets the comments for a task by id.- Parameters:
id- The id of the task to retrieve the comments for. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-