Class TaskResponse
java.lang.Object
io.camunda.tasklist.generated.model.TaskResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-29T10:52:23.981575172Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class TaskResponse
extends Object
TaskResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets implementationstatic enumThe state of the task. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionTaskResponse(TaskResponse.TaskStateEnum taskState) Constructor with only readonly parameters -
Method Summary
Modifier and TypeMethodDescriptionaddCandidateGroupsItem(String candidateGroupsItem) addCandidateUsersItem(String candidateUsersItem) candidateGroups(List<String> candidateGroups) candidateUsers(List<String> candidateUsers) completionDate(String completionDate) creationDate(String creationDate) dueDate(OffsetDateTime dueDate) booleanfollowUpDate(OffsetDateTime followUpDate) formVersion(Long formVersion) The username/id of who is assigned to the task.The candidate groups for the task.The candidate users for the task.When was the task completed (renamed equivalent of `Task.completionTime` field).When was the task created (renamed equivalent of `Task.creationTime` field).The due date for the task.The follow-up date for the task.Reference to the ID of a deployed form.Reference to the task form.Reference to the version of a deployed form.getId()The unique identifier of the task.Get implementationIs the form embedded for this task? If there is no form, this property is null.getName()The name of the task.The assigned priority of the task.Reference to process definition (renamed equivalent of `Task.processDefinitionId` field).Reference to process instance id (renamed equivalent of `Task.processInstanceId` field).The name of the process.User Task ID from the BPMN definition.The state of the task.The tenant ID associated with the task.inthashCode()implementation(TaskResponse.ImplementationEnum implementation) isFormEmbedded(Boolean isFormEmbedded) processDefinitionKey(String processDefinitionKey) processInstanceKey(String processInstanceKey) processName(String processName) voidsetAssignee(String assignee) voidsetCandidateGroups(List<String> candidateGroups) voidsetCandidateUsers(List<String> candidateUsers) voidsetCompletionDate(String completionDate) voidsetCreationDate(String creationDate) voidsetDueDate(OffsetDateTime dueDate) voidsetFollowUpDate(OffsetDateTime followUpDate) voidvoidsetFormKey(String formKey) voidsetFormVersion(Long formVersion) voidvoidsetImplementation(TaskResponse.ImplementationEnum implementation) voidsetIsFormEmbedded(Boolean isFormEmbedded) voidvoidsetPriority(Integer priority) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessInstanceKey(String processInstanceKey) voidsetProcessName(String processName) voidsetTaskDefinitionId(String taskDefinitionId) voidsetTenantId(String tenantId) taskDefinitionId(String taskDefinitionId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TASK_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_NAME
- See Also:
-
JSON_PROPERTY_CREATION_DATE
- See Also:
-
JSON_PROPERTY_COMPLETION_DATE
- See Also:
-
JSON_PROPERTY_ASSIGNEE
- See Also:
-
JSON_PROPERTY_TASK_STATE
- See Also:
-
JSON_PROPERTY_FORM_KEY
- See Also:
-
JSON_PROPERTY_FORM_ID
- See Also:
-
JSON_PROPERTY_FORM_VERSION
- See Also:
-
JSON_PROPERTY_IS_FORM_EMBEDDED
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_KEY
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_TENANT_ID
- See Also:
-
JSON_PROPERTY_DUE_DATE
- See Also:
-
JSON_PROPERTY_FOLLOW_UP_DATE
- See Also:
-
JSON_PROPERTY_CANDIDATE_GROUPS
- See Also:
-
JSON_PROPERTY_CANDIDATE_USERS
- See Also:
-
JSON_PROPERTY_IMPLEMENTATION
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
-
Constructor Details
-
TaskResponse
public TaskResponse() -
TaskResponse
Constructor with only readonly parameters
-
-
Method Details
-
id
-
getId
The unique identifier of the task.- Returns:
- id
-
setId
-
name
-
getName
The name of the task.- Returns:
- name
-
setName
-
taskDefinitionId
-
getTaskDefinitionId
User Task ID from the BPMN definition.- Returns:
- taskDefinitionId
-
setTaskDefinitionId
-
processName
-
getProcessName
The name of the process.- Returns:
- processName
-
setProcessName
-
creationDate
-
getCreationDate
When was the task created (renamed equivalent of `Task.creationTime` field).- Returns:
- creationDate
-
setCreationDate
-
completionDate
-
getCompletionDate
When was the task completed (renamed equivalent of `Task.completionTime` field).- Returns:
- completionDate
-
setCompletionDate
-
assignee
-
getAssignee
The username/id of who is assigned to the task.- Returns:
- assignee
-
setAssignee
-
getTaskState
The state of the task.- Returns:
- taskState
-
formKey
-
getFormKey
Reference to the task form.- Returns:
- formKey
-
setFormKey
-
formId
-
getFormId
Reference to the ID of a deployed form. If the form is not deployed, this property is null.- Returns:
- formId
-
setFormId
-
formVersion
-
getFormVersion
Reference to the version of a deployed form. If the form is not deployed, this property is null.- Returns:
- formVersion
-
setFormVersion
-
isFormEmbedded
-
getIsFormEmbedded
Is the form embedded for this task? If there is no form, this property is null.- Returns:
- isFormEmbedded
-
setIsFormEmbedded
-
processDefinitionKey
-
getProcessDefinitionKey
Reference to process definition (renamed equivalent of `Task.processDefinitionId` field).- Returns:
- processDefinitionKey
-
setProcessDefinitionKey
-
processInstanceKey
-
getProcessInstanceKey
Reference to process instance id (renamed equivalent of `Task.processInstanceId` field).- Returns:
- processInstanceKey
-
setProcessInstanceKey
-
tenantId
-
getTenantId
The tenant ID associated with the task.- Returns:
- tenantId
-
setTenantId
-
dueDate
-
getDueDate
The due date for the task.- Returns:
- dueDate
-
setDueDate
-
followUpDate
-
getFollowUpDate
The follow-up date for the task.- Returns:
- followUpDate
-
setFollowUpDate
-
candidateGroups
-
addCandidateGroupsItem
-
getCandidateGroups
The candidate groups for the task.- Returns:
- candidateGroups
-
setCandidateGroups
-
candidateUsers
-
addCandidateUsersItem
-
getCandidateUsers
The candidate users for the task.- Returns:
- candidateUsers
-
setCandidateUsers
-
implementation
-
getImplementation
Get implementation- Returns:
- implementation
-
setImplementation
-
priority
-
getPriority
The assigned priority of the task. Only for Zeebe User Tasks.- Returns:
- priority
-
setPriority
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-