public class TaskIdentityLinkApi extends Object
Constructor and Description |
---|
TaskIdentityLinkApi() |
TaskIdentityLinkApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
addIdentityLink(String id,
IdentityLinkDto identityLinkDto)
Adds an identity link to a task by id.
|
okhttp3.Call |
addIdentityLinkAsync(String id,
IdentityLinkDto identityLinkDto,
ApiCallback<Void> _callback)
(asynchronously)
Adds an identity link to a task by id.
|
okhttp3.Call |
addIdentityLinkCall(String id,
IdentityLinkDto identityLinkDto,
ApiCallback _callback)
Build call for addIdentityLink
|
ApiResponse<Void> |
addIdentityLinkWithHttpInfo(String id,
IdentityLinkDto identityLinkDto)
Adds an identity link to a task by id.
|
void |
deleteIdentityLink(String id,
IdentityLinkDto identityLinkDto)
Removes an identity link from a task by id
|
okhttp3.Call |
deleteIdentityLinkAsync(String id,
IdentityLinkDto identityLinkDto,
ApiCallback<Void> _callback)
(asynchronously)
Removes an identity link from a task by id
|
okhttp3.Call |
deleteIdentityLinkCall(String id,
IdentityLinkDto identityLinkDto,
ApiCallback _callback)
Build call for deleteIdentityLink
|
ApiResponse<Void> |
deleteIdentityLinkWithHttpInfo(String id,
IdentityLinkDto identityLinkDto)
Removes an identity link from a task by id
|
ApiClient |
getApiClient() |
List<IdentityLinkDto> |
getIdentityLinks(String id,
String type)
Gets the identity links for a task by id, which are the users and groups that are in *some* relation to it (including assignee and owner).
|
okhttp3.Call |
getIdentityLinksAsync(String id,
String type,
ApiCallback<List<IdentityLinkDto>> _callback)
(asynchronously)
Gets the identity links for a task by id, which are the users and groups that are in *some* relation to it (including assignee and owner).
|
okhttp3.Call |
getIdentityLinksCall(String id,
String type,
ApiCallback _callback)
Build call for getIdentityLinks
|
ApiResponse<List<IdentityLinkDto>> |
getIdentityLinksWithHttpInfo(String id,
String type)
Gets the identity links for a task by id, which are the users and groups that are in *some* relation to it (including assignee and owner).
|
void |
setApiClient(ApiClient apiClient) |
public TaskIdentityLinkApi()
public TaskIdentityLinkApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call addIdentityLinkCall(String id, IdentityLinkDto identityLinkDto, ApiCallback _callback) throws ApiException
id
- The id of the task to add a link to. (required)identityLinkDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void addIdentityLink(String id, IdentityLinkDto identityLinkDto) throws ApiException
id
- The id of the task to add a link to. (required)identityLinkDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> addIdentityLinkWithHttpInfo(String id, IdentityLinkDto identityLinkDto) throws ApiException
id
- The id of the task to add a link to. (required)identityLinkDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call addIdentityLinkAsync(String id, IdentityLinkDto identityLinkDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the task to add a link to. (required)identityLinkDto
- (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 deleteIdentityLinkCall(String id, IdentityLinkDto identityLinkDto, ApiCallback _callback) throws ApiException
id
- The id of the task to remove a link from. (required)identityLinkDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void deleteIdentityLink(String id, IdentityLinkDto identityLinkDto) throws ApiException
id
- The id of the task to remove a link from. (required)identityLinkDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteIdentityLinkWithHttpInfo(String id, IdentityLinkDto identityLinkDto) throws ApiException
id
- The id of the task to remove a link from. (required)identityLinkDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteIdentityLinkAsync(String id, IdentityLinkDto identityLinkDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the task to remove a link from. (required)identityLinkDto
- (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 getIdentityLinksCall(String id, String type, ApiCallback _callback) throws ApiException
id
- The id of the task to retrieve the identity links for. (required)type
- Filter by the type of links to include. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<IdentityLinkDto> getIdentityLinks(String id, String type) throws ApiException
id
- The id of the task to retrieve the identity links for. (required)type
- Filter by the type of links to include. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<IdentityLinkDto>> getIdentityLinksWithHttpInfo(String id, String type) throws ApiException
id
- The id of the task to retrieve the identity links for. (required)type
- Filter by the type of links to include. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getIdentityLinksAsync(String id, String type, ApiCallback<List<IdentityLinkDto>> _callback) throws ApiException
id
- The id of the task to retrieve the identity links for. (required)type
- Filter by the type of links to include. (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 objectCopyright © 2022. All rights reserved.