Class TaskDto
java.lang.Object
org.camunda.community.rest.client.dto.TaskDto
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class TaskDto
extends Object
TaskDto
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe task's delegation state. -
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 Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncamundaFormRef(CamundaFormRef camundaFormRef) caseDefinitionId(String caseDefinitionId) caseExecutionId(String caseExecutionId) caseInstanceId(String caseInstanceId) created(OffsetDateTime created) delegationState(TaskDto.DelegationStateEnum delegationState) description(String description) due(OffsetDateTime due) booleanexecutionId(String executionId) followUp(OffsetDateTime followUp) The assignee's id.org.openapitools.jackson.nullable.JsonNullable<String>Get camundaFormRefThe id of the case definition the task belongs to.org.openapitools.jackson.nullable.JsonNullable<String>The id of the case execution the task belongs to.org.openapitools.jackson.nullable.JsonNullable<String>The id of the case instance the task belongs to.org.openapitools.jackson.nullable.JsonNullable<String>The date the task was created on.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>The task's delegation state.org.openapitools.jackson.nullable.JsonNullable<TaskDto.DelegationStateEnum>The task's description.org.openapitools.jackson.nullable.JsonNullable<String>getDue()The task's due date.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>The id of the execution the task belongs to.org.openapitools.jackson.nullable.JsonNullable<String>The follow-up date for the task.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>If not `null`, the form key for the task.org.openapitools.jackson.nullable.JsonNullable<String>getId()The task id.org.openapitools.jackson.nullable.JsonNullable<String>The date the task was last updated.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>getName()The task name.org.openapitools.jackson.nullable.JsonNullable<String>getOwner()The owner's id.org.openapitools.jackson.nullable.JsonNullable<String>The id the parent task, if this task is a subtask.org.openapitools.jackson.nullable.JsonNullable<String>The task's priority.org.openapitools.jackson.nullable.JsonNullable<Integer>The id of the process definition the task belongs to.org.openapitools.jackson.nullable.JsonNullable<String>The id of the process instance the task belongs to.org.openapitools.jackson.nullable.JsonNullable<String>Whether the task belongs to a process instance that is suspended.org.openapitools.jackson.nullable.JsonNullable<Boolean>The task's key.org.openapitools.jackson.nullable.JsonNullable<String>If not `null`, the tenant id of the task.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()lastUpdated(OffsetDateTime lastUpdated) parentTaskId(String parentTaskId) processDefinitionId(String processDefinitionId) processInstanceId(String processInstanceId) voidsetAssignee(String assignee) voidsetAssignee_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> assignee) voidsetCamundaFormRef(CamundaFormRef camundaFormRef) voidsetCaseDefinitionId(String caseDefinitionId) voidsetCaseDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> caseDefinitionId) voidsetCaseExecutionId(String caseExecutionId) voidsetCaseExecutionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> caseExecutionId) voidsetCaseInstanceId(String caseInstanceId) voidsetCaseInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> caseInstanceId) voidsetCreated(OffsetDateTime created) voidsetCreated_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> created) voidsetDelegationState(TaskDto.DelegationStateEnum delegationState) voidsetDelegationState_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<TaskDto.DelegationStateEnum> delegationState) voidsetDescription(String description) voidsetDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) voidsetDue(OffsetDateTime due) voidsetDue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> due) voidsetExecutionId(String executionId) voidsetExecutionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> executionId) voidsetFollowUp(OffsetDateTime followUp) voidsetFollowUp_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> followUp) voidsetFormKey(String formKey) voidsetFormKey_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> formKey) voidvoidsetId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> id) voidsetLastUpdated(OffsetDateTime lastUpdated) voidsetLastUpdated_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> lastUpdated) voidvoidsetName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> name) voidvoidsetOwner_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> owner) voidsetParentTaskId(String parentTaskId) voidsetParentTaskId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> parentTaskId) voidsetPriority(Integer priority) voidsetPriority_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> priority) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processDefinitionId) voidsetProcessInstanceId(String processInstanceId) voidsetProcessInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processInstanceId) voidsetSuspended(Boolean suspended) voidsetSuspended_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> suspended) voidsetTaskDefinitionKey(String taskDefinitionKey) voidsetTaskDefinitionKey_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> taskDefinitionKey) voidsetTenantId(String tenantId) voidsetTenantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> tenantId) taskDefinitionKey(String taskDefinitionKey) 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_ASSIGNEE
- See Also:
-
JSON_PROPERTY_OWNER
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_LAST_UPDATED
- See Also:
-
JSON_PROPERTY_DUE
- See Also:
-
JSON_PROPERTY_FOLLOW_UP
- See Also:
-
JSON_PROPERTY_DELEGATION_STATE
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_EXECUTION_ID
- See Also:
-
JSON_PROPERTY_PARENT_TASK_ID
- See Also:
-
JSON_PROPERTY_PRIORITY
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_ID
- See Also:
-
JSON_PROPERTY_CASE_EXECUTION_ID
- See Also:
-
JSON_PROPERTY_CASE_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_CASE_INSTANCE_ID
- See Also:
-
JSON_PROPERTY_TASK_DEFINITION_KEY
- See Also:
-
JSON_PROPERTY_SUSPENDED
- See Also:
-
JSON_PROPERTY_FORM_KEY
- See Also:
-
JSON_PROPERTY_CAMUNDA_FORM_REF
- See Also:
-
JSON_PROPERTY_TENANT_ID
- See Also:
-
-
Constructor Details
-
TaskDto
public TaskDto()
-
-
Method Details
-
id
-
getId
The task id.- Returns:
- id
-
getId_JsonNullable
-
setId_JsonNullable
-
setId
-
name
-
getName
The task name.- Returns:
- name
-
getName_JsonNullable
-
setName_JsonNullable
-
setName
-
assignee
-
getAssignee
The assignee's id.- Returns:
- assignee
-
getAssignee_JsonNullable
-
setAssignee_JsonNullable
public void setAssignee_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> assignee) -
setAssignee
-
owner
-
getOwner
The owner's id.- Returns:
- owner
-
getOwner_JsonNullable
-
setOwner_JsonNullable
-
setOwner
-
created
-
getCreated
The date the task was created on. [Default format](https://docs.camunda.org/manual/7.21/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.- Returns:
- created
-
getCreated_JsonNullable
-
setCreated_JsonNullable
public void setCreated_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> created) -
setCreated
-
lastUpdated
-
getLastUpdated
The date the task was last updated. Every action that fires a [task update event](https://docs.camunda.org/manual/7.21/user-guide/process-engine/delegation-code/#task-listener-event-lifecycle) will update this property. [Default format](https://docs.camunda.org/manual/7.21/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.- Returns:
- lastUpdated
-
getLastUpdated_JsonNullable
-
setLastUpdated_JsonNullable
public void setLastUpdated_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> lastUpdated) -
setLastUpdated
-
due
-
getDue
The task's due date. [Default format](https://docs.camunda.org/manual/7.21/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.- Returns:
- due
-
getDue_JsonNullable
-
setDue_JsonNullable
-
setDue
-
followUp
-
getFollowUp
The follow-up date for the task. [Default format](https://docs.camunda.org/manual/7.21/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.- Returns:
- followUp
-
getFollowUp_JsonNullable
-
setFollowUp_JsonNullable
public void setFollowUp_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> followUp) -
setFollowUp
-
delegationState
-
getDelegationState
The task's delegation state. Possible values are `PENDING` and `RESOLVED`.- Returns:
- delegationState
-
getDelegationState_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<TaskDto.DelegationStateEnum> getDelegationState_JsonNullable() -
setDelegationState_JsonNullable
public void setDelegationState_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<TaskDto.DelegationStateEnum> delegationState) -
setDelegationState
-
description
-
getDescription
The task's description.- Returns:
- description
-
getDescription_JsonNullable
-
setDescription_JsonNullable
public void setDescription_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> description) -
setDescription
-
executionId
-
getExecutionId
The id of the execution the task belongs to.- Returns:
- executionId
-
getExecutionId_JsonNullable
-
setExecutionId_JsonNullable
public void setExecutionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> executionId) -
setExecutionId
-
parentTaskId
-
getParentTaskId
The id the parent task, if this task is a subtask.- Returns:
- parentTaskId
-
getParentTaskId_JsonNullable
-
setParentTaskId_JsonNullable
public void setParentTaskId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> parentTaskId) -
setParentTaskId
-
priority
-
getPriority
The task's priority.- Returns:
- priority
-
getPriority_JsonNullable
-
setPriority_JsonNullable
public void setPriority_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Integer> priority) -
setPriority
-
processDefinitionId
-
getProcessDefinitionId
The id of the process definition the task belongs to.- Returns:
- processDefinitionId
-
getProcessDefinitionId_JsonNullable
-
setProcessDefinitionId_JsonNullable
public void setProcessDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processDefinitionId) -
setProcessDefinitionId
-
processInstanceId
-
getProcessInstanceId
The id of the process instance the task belongs to.- Returns:
- processInstanceId
-
getProcessInstanceId_JsonNullable
-
setProcessInstanceId_JsonNullable
public void setProcessInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processInstanceId) -
setProcessInstanceId
-
caseExecutionId
-
getCaseExecutionId
The id of the case execution the task belongs to.- Returns:
- caseExecutionId
-
getCaseExecutionId_JsonNullable
-
setCaseExecutionId_JsonNullable
public void setCaseExecutionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> caseExecutionId) -
setCaseExecutionId
-
caseDefinitionId
-
getCaseDefinitionId
The id of the case definition the task belongs to.- Returns:
- caseDefinitionId
-
getCaseDefinitionId_JsonNullable
-
setCaseDefinitionId_JsonNullable
public void setCaseDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> caseDefinitionId) -
setCaseDefinitionId
-
caseInstanceId
-
getCaseInstanceId
The id of the case instance the task belongs to.- Returns:
- caseInstanceId
-
getCaseInstanceId_JsonNullable
-
setCaseInstanceId_JsonNullable
public void setCaseInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> caseInstanceId) -
setCaseInstanceId
-
taskDefinitionKey
-
getTaskDefinitionKey
The task's key.- Returns:
- taskDefinitionKey
-
getTaskDefinitionKey_JsonNullable
-
setTaskDefinitionKey_JsonNullable
public void setTaskDefinitionKey_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> taskDefinitionKey) -
setTaskDefinitionKey
-
suspended
-
getSuspended
Whether the task belongs to a process instance that is suspended.- Returns:
- suspended
-
getSuspended_JsonNullable
-
setSuspended_JsonNullable
public void setSuspended_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> suspended) -
setSuspended
-
formKey
-
getFormKey
If not `null`, the form key for the task.- Returns:
- formKey
-
getFormKey_JsonNullable
-
setFormKey_JsonNullable
-
setFormKey
-
camundaFormRef
-
getCamundaFormRef
Get camundaFormRef- Returns:
- camundaFormRef
-
setCamundaFormRef
-
tenantId
-
getTenantId
If not `null`, the tenant id of the task.- Returns:
- tenantId
-
getTenantId_JsonNullable
-
setTenantId_JsonNullable
public void setTenantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> tenantId) -
setTenantId
-
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
-