Class TaskIdentityLinkApi
java.lang.Object
org.camunda.community.rest.client.api.TaskIdentityLinkApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class TaskIdentityLinkApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIdentityLink(String id, IdentityLinkDto identityLinkDto) Add Adds an identity link to a task by id.voidaddIdentityLink(String id, IdentityLinkDto identityLinkDto, Map<String, String> additionalHeaders) Add Adds an identity link to a task by id.voiddeleteIdentityLink(String id, IdentityLinkDto identityLinkDto) Delete Removes an identity link from a task by idvoiddeleteIdentityLink(String id, IdentityLinkDto identityLinkDto, Map<String, String> additionalHeaders) Delete Removes an identity link from a task by idgetIdentityLinks(String id, String type) Get List 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).Get List 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).voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
TaskIdentityLinkApi
public TaskIdentityLinkApi() -
TaskIdentityLinkApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
addIdentityLink
Add Adds an identity link to a task by id. Can be used to link any user or group to a task and specify a relation.- Parameters:
id- The id of the task to add a link to. (required)identityLinkDto- (optional)- Throws:
ApiException- if fails to make API call
-
addIdentityLink
public void addIdentityLink(String id, IdentityLinkDto identityLinkDto, Map<String, String> additionalHeaders) throws ApiExceptionAdd Adds an identity link to a task by id. Can be used to link any user or group to a task and specify a relation.- Parameters:
id- The id of the task to add a link to. (required)identityLinkDto- (optional)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
deleteIdentityLink
Delete Removes an identity link from a task by id- Parameters:
id- The id of the task to remove a link from. (required)identityLinkDto- (optional)- Throws:
ApiException- if fails to make API call
-
deleteIdentityLink
public void deleteIdentityLink(String id, IdentityLinkDto identityLinkDto, Map<String, String> additionalHeaders) throws ApiExceptionDelete Removes an identity link from a task by id- Parameters:
id- The id of the task to remove a link from. (required)identityLinkDto- (optional)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
getIdentityLinks
Get List 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).- Parameters:
id- The id of the task to retrieve the identity links for. (required)type- Filter by the type of links to include. (optional)- Returns:
- List<IdentityLinkDto>
- Throws:
ApiException- if fails to make API call
-
getIdentityLinks
public List<IdentityLinkDto> getIdentityLinks(String id, String type, Map<String, String> additionalHeaders) throws ApiExceptionGet List 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).- Parameters:
id- The id of the task to retrieve the identity links for. (required)type- Filter by the type of links to include. (optional)additionalHeaders- additionalHeaders for this call- Returns:
- List<IdentityLinkDto>
- Throws:
ApiException- if fails to make API call
-