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
  • Field Details

  • Constructor Details

    • TaskResponse

      public TaskResponse()
    • TaskResponse

      public TaskResponse(TaskResponse.TaskStateEnum taskState)
      Constructor with only readonly parameters
  • Method Details

    • id

      public TaskResponse id(String id)
    • getId

      @Nullable public String getId()
      The unique identifier of the task.
      Returns:
      id
    • setId

      public void setId(String id)
    • name

      public TaskResponse name(String name)
    • getName

      @Nullable public String getName()
      The name of the task.
      Returns:
      name
    • setName

      public void setName(String name)
    • taskDefinitionId

      public TaskResponse taskDefinitionId(String taskDefinitionId)
    • getTaskDefinitionId

      @Nullable public String getTaskDefinitionId()
      User Task ID from the BPMN definition.
      Returns:
      taskDefinitionId
    • setTaskDefinitionId

      public void setTaskDefinitionId(String taskDefinitionId)
    • processName

      public TaskResponse processName(String processName)
    • getProcessName

      @Nullable public String getProcessName()
      The name of the process.
      Returns:
      processName
    • setProcessName

      public void setProcessName(String processName)
    • creationDate

      public TaskResponse creationDate(String creationDate)
    • getCreationDate

      @Nullable public String getCreationDate()
      When was the task created (renamed equivalent of `Task.creationTime` field).
      Returns:
      creationDate
    • setCreationDate

      public void setCreationDate(String creationDate)
    • completionDate

      public TaskResponse completionDate(String completionDate)
    • getCompletionDate

      @Nullable public String getCompletionDate()
      When was the task completed (renamed equivalent of `Task.completionTime` field).
      Returns:
      completionDate
    • setCompletionDate

      public void setCompletionDate(String completionDate)
    • assignee

      public TaskResponse assignee(String assignee)
    • getAssignee

      @Nullable public String getAssignee()
      The username/id of who is assigned to the task.
      Returns:
      assignee
    • setAssignee

      public void setAssignee(String assignee)
    • getTaskState

      @Nullable public TaskResponse.TaskStateEnum getTaskState()
      The state of the task.
      Returns:
      taskState
    • formKey

      public TaskResponse formKey(String formKey)
    • getFormKey

      @Nullable public String getFormKey()
      Reference to the task form.
      Returns:
      formKey
    • setFormKey

      public void setFormKey(String formKey)
    • formId

      public TaskResponse formId(String formId)
    • getFormId

      @Nullable public String getFormId()
      Reference to the ID of a deployed form. If the form is not deployed, this property is null.
      Returns:
      formId
    • setFormId

      public void setFormId(String formId)
    • formVersion

      public TaskResponse formVersion(Long formVersion)
    • getFormVersion

      @Nullable public Long getFormVersion()
      Reference to the version of a deployed form. If the form is not deployed, this property is null.
      Returns:
      formVersion
    • setFormVersion

      public void setFormVersion(Long formVersion)
    • isFormEmbedded

      public TaskResponse isFormEmbedded(Boolean isFormEmbedded)
    • getIsFormEmbedded

      @Nullable public Boolean getIsFormEmbedded()
      Is the form embedded for this task? If there is no form, this property is null.
      Returns:
      isFormEmbedded
    • setIsFormEmbedded

      public void setIsFormEmbedded(Boolean isFormEmbedded)
    • processDefinitionKey

      public TaskResponse processDefinitionKey(String processDefinitionKey)
    • getProcessDefinitionKey

      @Nullable public String getProcessDefinitionKey()
      Reference to process definition (renamed equivalent of `Task.processDefinitionId` field).
      Returns:
      processDefinitionKey
    • setProcessDefinitionKey

      public void setProcessDefinitionKey(String processDefinitionKey)
    • processInstanceKey

      public TaskResponse processInstanceKey(String processInstanceKey)
    • getProcessInstanceKey

      @Nullable public String getProcessInstanceKey()
      Reference to process instance id (renamed equivalent of `Task.processInstanceId` field).
      Returns:
      processInstanceKey
    • setProcessInstanceKey

      public void setProcessInstanceKey(String processInstanceKey)
    • tenantId

      public TaskResponse tenantId(String tenantId)
    • getTenantId

      @Nullable public String getTenantId()
      The tenant ID associated with the task.
      Returns:
      tenantId
    • setTenantId

      public void setTenantId(String tenantId)
    • dueDate

      public TaskResponse dueDate(OffsetDateTime dueDate)
    • getDueDate

      @Nullable public OffsetDateTime getDueDate()
      The due date for the task.
      Returns:
      dueDate
    • setDueDate

      public void setDueDate(OffsetDateTime dueDate)
    • followUpDate

      public TaskResponse followUpDate(OffsetDateTime followUpDate)
    • getFollowUpDate

      @Nullable public OffsetDateTime getFollowUpDate()
      The follow-up date for the task.
      Returns:
      followUpDate
    • setFollowUpDate

      public void setFollowUpDate(OffsetDateTime followUpDate)
    • candidateGroups

      public TaskResponse candidateGroups(List<String> candidateGroups)
    • addCandidateGroupsItem

      public TaskResponse addCandidateGroupsItem(String candidateGroupsItem)
    • getCandidateGroups

      @Nullable public List<String> getCandidateGroups()
      The candidate groups for the task.
      Returns:
      candidateGroups
    • setCandidateGroups

      public void setCandidateGroups(List<String> candidateGroups)
    • candidateUsers

      public TaskResponse candidateUsers(List<String> candidateUsers)
    • addCandidateUsersItem

      public TaskResponse addCandidateUsersItem(String candidateUsersItem)
    • getCandidateUsers

      @Nullable public List<String> getCandidateUsers()
      The candidate users for the task.
      Returns:
      candidateUsers
    • setCandidateUsers

      public void setCandidateUsers(List<String> candidateUsers)
    • implementation

      public TaskResponse implementation(TaskResponse.ImplementationEnum implementation)
    • getImplementation

      @Nullable public TaskResponse.ImplementationEnum getImplementation()
      Get implementation
      Returns:
      implementation
    • setImplementation

      public void setImplementation(TaskResponse.ImplementationEnum implementation)
    • priority

      public TaskResponse priority(Integer priority)
    • getPriority

      @Nullable public Integer getPriority()
      The assigned priority of the task. Only for Zeebe User Tasks.
      Returns:
      priority
    • setPriority

      public void setPriority(Integer priority)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string