org.camunda.community.rest.client.dto.TaskQueryDto Maven / Gradle / Ivy
The newest version!
/*
* Camunda Platform REST API
* OpenApi Spec for Camunda Platform REST API.
*
* The version of the OpenAPI document: 7.21.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.camunda.community.rest.client.dto;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.camunda.community.rest.client.dto.TaskQueryDtoSortingInner;
import org.camunda.community.rest.client.dto.VariableQueryParameterDto;
import org.openapitools.jackson.nullable.JsonNullable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.openapitools.jackson.nullable.JsonNullable;
import java.util.NoSuchElementException;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.StringJoiner;
/**
* A Task query which defines a group of Tasks.
*/
@JsonPropertyOrder({
TaskQueryDto.JSON_PROPERTY_TASK_ID,
TaskQueryDto.JSON_PROPERTY_TASK_ID_IN,
TaskQueryDto.JSON_PROPERTY_PROCESS_INSTANCE_ID,
TaskQueryDto.JSON_PROPERTY_PROCESS_INSTANCE_ID_IN,
TaskQueryDto.JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY,
TaskQueryDto.JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_IN,
TaskQueryDto.JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_LIKE,
TaskQueryDto.JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_LIKE_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_PROCESS_DEFINITION_ID,
TaskQueryDto.JSON_PROPERTY_PROCESS_DEFINITION_KEY,
TaskQueryDto.JSON_PROPERTY_PROCESS_DEFINITION_KEY_IN,
TaskQueryDto.JSON_PROPERTY_PROCESS_DEFINITION_NAME,
TaskQueryDto.JSON_PROPERTY_PROCESS_DEFINITION_NAME_LIKE,
TaskQueryDto.JSON_PROPERTY_EXECUTION_ID,
TaskQueryDto.JSON_PROPERTY_CASE_INSTANCE_ID,
TaskQueryDto.JSON_PROPERTY_CASE_INSTANCE_BUSINESS_KEY,
TaskQueryDto.JSON_PROPERTY_CASE_INSTANCE_BUSINESS_KEY_LIKE,
TaskQueryDto.JSON_PROPERTY_CASE_DEFINITION_ID,
TaskQueryDto.JSON_PROPERTY_CASE_DEFINITION_KEY,
TaskQueryDto.JSON_PROPERTY_CASE_DEFINITION_NAME,
TaskQueryDto.JSON_PROPERTY_CASE_DEFINITION_NAME_LIKE,
TaskQueryDto.JSON_PROPERTY_CASE_EXECUTION_ID,
TaskQueryDto.JSON_PROPERTY_ACTIVITY_INSTANCE_ID_IN,
TaskQueryDto.JSON_PROPERTY_TENANT_ID_IN,
TaskQueryDto.JSON_PROPERTY_WITHOUT_TENANT_ID,
TaskQueryDto.JSON_PROPERTY_ASSIGNEE,
TaskQueryDto.JSON_PROPERTY_ASSIGNEE_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_ASSIGNEE_LIKE,
TaskQueryDto.JSON_PROPERTY_ASSIGNEE_LIKE_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_ASSIGNEE_IN,
TaskQueryDto.JSON_PROPERTY_ASSIGNEE_NOT_IN,
TaskQueryDto.JSON_PROPERTY_OWNER,
TaskQueryDto.JSON_PROPERTY_OWNER_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_CANDIDATE_GROUP,
TaskQueryDto.JSON_PROPERTY_CANDIDATE_GROUP_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_CANDIDATE_USER,
TaskQueryDto.JSON_PROPERTY_CANDIDATE_USER_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_INCLUDE_ASSIGNED_TASKS,
TaskQueryDto.JSON_PROPERTY_INVOLVED_USER,
TaskQueryDto.JSON_PROPERTY_INVOLVED_USER_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_ASSIGNED,
TaskQueryDto.JSON_PROPERTY_UNASSIGNED,
TaskQueryDto.JSON_PROPERTY_TASK_DEFINITION_KEY,
TaskQueryDto.JSON_PROPERTY_TASK_DEFINITION_KEY_IN,
TaskQueryDto.JSON_PROPERTY_TASK_DEFINITION_KEY_LIKE,
TaskQueryDto.JSON_PROPERTY_NAME,
TaskQueryDto.JSON_PROPERTY_NAME_NOT_EQUAL,
TaskQueryDto.JSON_PROPERTY_NAME_LIKE,
TaskQueryDto.JSON_PROPERTY_NAME_NOT_LIKE,
TaskQueryDto.JSON_PROPERTY_DESCRIPTION,
TaskQueryDto.JSON_PROPERTY_DESCRIPTION_LIKE,
TaskQueryDto.JSON_PROPERTY_PRIORITY,
TaskQueryDto.JSON_PROPERTY_MAX_PRIORITY,
TaskQueryDto.JSON_PROPERTY_MIN_PRIORITY,
TaskQueryDto.JSON_PROPERTY_DUE_DATE,
TaskQueryDto.JSON_PROPERTY_DUE_DATE_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_DUE_AFTER,
TaskQueryDto.JSON_PROPERTY_DUE_AFTER_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_DUE_BEFORE,
TaskQueryDto.JSON_PROPERTY_DUE_BEFORE_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_WITHOUT_DUE_DATE,
TaskQueryDto.JSON_PROPERTY_FOLLOW_UP_DATE,
TaskQueryDto.JSON_PROPERTY_FOLLOW_UP_DATE_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_FOLLOW_UP_AFTER,
TaskQueryDto.JSON_PROPERTY_FOLLOW_UP_AFTER_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_FOLLOW_UP_BEFORE,
TaskQueryDto.JSON_PROPERTY_FOLLOW_UP_BEFORE_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_FOLLOW_UP_BEFORE_OR_NOT_EXISTENT,
TaskQueryDto.JSON_PROPERTY_FOLLOW_UP_BEFORE_OR_NOT_EXISTENT_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_CREATED_ON,
TaskQueryDto.JSON_PROPERTY_CREATED_ON_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_CREATED_AFTER,
TaskQueryDto.JSON_PROPERTY_CREATED_AFTER_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_CREATED_BEFORE,
TaskQueryDto.JSON_PROPERTY_CREATED_BEFORE_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_UPDATED_AFTER,
TaskQueryDto.JSON_PROPERTY_UPDATED_AFTER_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_DELEGATION_STATE,
TaskQueryDto.JSON_PROPERTY_CANDIDATE_GROUPS,
TaskQueryDto.JSON_PROPERTY_CANDIDATE_GROUPS_EXPRESSION,
TaskQueryDto.JSON_PROPERTY_WITH_CANDIDATE_GROUPS,
TaskQueryDto.JSON_PROPERTY_WITHOUT_CANDIDATE_GROUPS,
TaskQueryDto.JSON_PROPERTY_WITH_CANDIDATE_USERS,
TaskQueryDto.JSON_PROPERTY_WITHOUT_CANDIDATE_USERS,
TaskQueryDto.JSON_PROPERTY_ACTIVE,
TaskQueryDto.JSON_PROPERTY_SUSPENDED,
TaskQueryDto.JSON_PROPERTY_TASK_VARIABLES,
TaskQueryDto.JSON_PROPERTY_PROCESS_VARIABLES,
TaskQueryDto.JSON_PROPERTY_CASE_INSTANCE_VARIABLES,
TaskQueryDto.JSON_PROPERTY_VARIABLE_NAMES_IGNORE_CASE,
TaskQueryDto.JSON_PROPERTY_VARIABLE_VALUES_IGNORE_CASE,
TaskQueryDto.JSON_PROPERTY_PARENT_TASK_ID,
TaskQueryDto.JSON_PROPERTY_OR_QUERIES,
TaskQueryDto.JSON_PROPERTY_SORTING
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-06-27T13:50:23.655629899Z[Etc/UTC]")
public class TaskQueryDto {
public static final String JSON_PROPERTY_TASK_ID = "taskId";
private JsonNullable taskId = JsonNullable.undefined();
public static final String JSON_PROPERTY_TASK_ID_IN = "taskIdIn";
private JsonNullable> taskIdIn = JsonNullable.>undefined();
public static final String JSON_PROPERTY_PROCESS_INSTANCE_ID = "processInstanceId";
private JsonNullable processInstanceId = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROCESS_INSTANCE_ID_IN = "processInstanceIdIn";
private JsonNullable> processInstanceIdIn = JsonNullable.>undefined();
public static final String JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY = "processInstanceBusinessKey";
private JsonNullable processInstanceBusinessKey = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_EXPRESSION = "processInstanceBusinessKeyExpression";
private JsonNullable processInstanceBusinessKeyExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_IN = "processInstanceBusinessKeyIn";
private JsonNullable> processInstanceBusinessKeyIn = JsonNullable.>undefined();
public static final String JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_LIKE = "processInstanceBusinessKeyLike";
private JsonNullable processInstanceBusinessKeyLike = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_LIKE_EXPRESSION = "processInstanceBusinessKeyLikeExpression";
private JsonNullable processInstanceBusinessKeyLikeExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROCESS_DEFINITION_ID = "processDefinitionId";
private JsonNullable processDefinitionId = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROCESS_DEFINITION_KEY = "processDefinitionKey";
private JsonNullable processDefinitionKey = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROCESS_DEFINITION_KEY_IN = "processDefinitionKeyIn";
private JsonNullable> processDefinitionKeyIn = JsonNullable.>undefined();
public static final String JSON_PROPERTY_PROCESS_DEFINITION_NAME = "processDefinitionName";
private JsonNullable processDefinitionName = JsonNullable.undefined();
public static final String JSON_PROPERTY_PROCESS_DEFINITION_NAME_LIKE = "processDefinitionNameLike";
private JsonNullable processDefinitionNameLike = JsonNullable.undefined();
public static final String JSON_PROPERTY_EXECUTION_ID = "executionId";
private JsonNullable executionId = JsonNullable.undefined();
public static final String JSON_PROPERTY_CASE_INSTANCE_ID = "caseInstanceId";
private JsonNullable caseInstanceId = JsonNullable.undefined();
public static final String JSON_PROPERTY_CASE_INSTANCE_BUSINESS_KEY = "caseInstanceBusinessKey";
private JsonNullable caseInstanceBusinessKey = JsonNullable.undefined();
public static final String JSON_PROPERTY_CASE_INSTANCE_BUSINESS_KEY_LIKE = "caseInstanceBusinessKeyLike";
private JsonNullable caseInstanceBusinessKeyLike = JsonNullable.undefined();
public static final String JSON_PROPERTY_CASE_DEFINITION_ID = "caseDefinitionId";
private JsonNullable caseDefinitionId = JsonNullable.undefined();
public static final String JSON_PROPERTY_CASE_DEFINITION_KEY = "caseDefinitionKey";
private JsonNullable caseDefinitionKey = JsonNullable.undefined();
public static final String JSON_PROPERTY_CASE_DEFINITION_NAME = "caseDefinitionName";
private JsonNullable caseDefinitionName = JsonNullable.undefined();
public static final String JSON_PROPERTY_CASE_DEFINITION_NAME_LIKE = "caseDefinitionNameLike";
private JsonNullable caseDefinitionNameLike = JsonNullable.undefined();
public static final String JSON_PROPERTY_CASE_EXECUTION_ID = "caseExecutionId";
private JsonNullable caseExecutionId = JsonNullable.undefined();
public static final String JSON_PROPERTY_ACTIVITY_INSTANCE_ID_IN = "activityInstanceIdIn";
private JsonNullable> activityInstanceIdIn = JsonNullable.>undefined();
public static final String JSON_PROPERTY_TENANT_ID_IN = "tenantIdIn";
private JsonNullable> tenantIdIn = JsonNullable.>undefined();
public static final String JSON_PROPERTY_WITHOUT_TENANT_ID = "withoutTenantId";
private JsonNullable withoutTenantId = JsonNullable.of(false);
public static final String JSON_PROPERTY_ASSIGNEE = "assignee";
private JsonNullable assignee = JsonNullable.undefined();
public static final String JSON_PROPERTY_ASSIGNEE_EXPRESSION = "assigneeExpression";
private JsonNullable assigneeExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_ASSIGNEE_LIKE = "assigneeLike";
private JsonNullable assigneeLike = JsonNullable.undefined();
public static final String JSON_PROPERTY_ASSIGNEE_LIKE_EXPRESSION = "assigneeLikeExpression";
private JsonNullable assigneeLikeExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_ASSIGNEE_IN = "assigneeIn";
private JsonNullable> assigneeIn = JsonNullable.>undefined();
public static final String JSON_PROPERTY_ASSIGNEE_NOT_IN = "assigneeNotIn";
private JsonNullable> assigneeNotIn = JsonNullable.>undefined();
public static final String JSON_PROPERTY_OWNER = "owner";
private JsonNullable owner = JsonNullable.undefined();
public static final String JSON_PROPERTY_OWNER_EXPRESSION = "ownerExpression";
private JsonNullable ownerExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_CANDIDATE_GROUP = "candidateGroup";
private JsonNullable candidateGroup = JsonNullable.undefined();
public static final String JSON_PROPERTY_CANDIDATE_GROUP_EXPRESSION = "candidateGroupExpression";
private JsonNullable candidateGroupExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_CANDIDATE_USER = "candidateUser";
private JsonNullable candidateUser = JsonNullable.undefined();
public static final String JSON_PROPERTY_CANDIDATE_USER_EXPRESSION = "candidateUserExpression";
private JsonNullable candidateUserExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_INCLUDE_ASSIGNED_TASKS = "includeAssignedTasks";
private JsonNullable includeAssignedTasks = JsonNullable.of(false);
public static final String JSON_PROPERTY_INVOLVED_USER = "involvedUser";
private JsonNullable involvedUser = JsonNullable.undefined();
public static final String JSON_PROPERTY_INVOLVED_USER_EXPRESSION = "involvedUserExpression";
private JsonNullable involvedUserExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_ASSIGNED = "assigned";
private JsonNullable assigned = JsonNullable.of(false);
public static final String JSON_PROPERTY_UNASSIGNED = "unassigned";
private JsonNullable unassigned = JsonNullable.of(false);
public static final String JSON_PROPERTY_TASK_DEFINITION_KEY = "taskDefinitionKey";
private JsonNullable taskDefinitionKey = JsonNullable.undefined();
public static final String JSON_PROPERTY_TASK_DEFINITION_KEY_IN = "taskDefinitionKeyIn";
private JsonNullable> taskDefinitionKeyIn = JsonNullable.>undefined();
public static final String JSON_PROPERTY_TASK_DEFINITION_KEY_LIKE = "taskDefinitionKeyLike";
private JsonNullable taskDefinitionKeyLike = JsonNullable.undefined();
public static final String JSON_PROPERTY_NAME = "name";
private JsonNullable name = JsonNullable.undefined();
public static final String JSON_PROPERTY_NAME_NOT_EQUAL = "nameNotEqual";
private JsonNullable nameNotEqual = JsonNullable.undefined();
public static final String JSON_PROPERTY_NAME_LIKE = "nameLike";
private JsonNullable nameLike = JsonNullable.undefined();
public static final String JSON_PROPERTY_NAME_NOT_LIKE = "nameNotLike";
private JsonNullable nameNotLike = JsonNullable.undefined();
public static final String JSON_PROPERTY_DESCRIPTION = "description";
private JsonNullable description = JsonNullable.undefined();
public static final String JSON_PROPERTY_DESCRIPTION_LIKE = "descriptionLike";
private JsonNullable descriptionLike = JsonNullable.undefined();
public static final String JSON_PROPERTY_PRIORITY = "priority";
private JsonNullable priority = JsonNullable.undefined();
public static final String JSON_PROPERTY_MAX_PRIORITY = "maxPriority";
private JsonNullable maxPriority = JsonNullable.undefined();
public static final String JSON_PROPERTY_MIN_PRIORITY = "minPriority";
private JsonNullable minPriority = JsonNullable.undefined();
public static final String JSON_PROPERTY_DUE_DATE = "dueDate";
private JsonNullable dueDate = JsonNullable.undefined();
public static final String JSON_PROPERTY_DUE_DATE_EXPRESSION = "dueDateExpression";
private JsonNullable dueDateExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_DUE_AFTER = "dueAfter";
private JsonNullable dueAfter = JsonNullable.undefined();
public static final String JSON_PROPERTY_DUE_AFTER_EXPRESSION = "dueAfterExpression";
private JsonNullable dueAfterExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_DUE_BEFORE = "dueBefore";
private JsonNullable dueBefore = JsonNullable.undefined();
public static final String JSON_PROPERTY_DUE_BEFORE_EXPRESSION = "dueBeforeExpression";
private JsonNullable dueBeforeExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_WITHOUT_DUE_DATE = "withoutDueDate";
private JsonNullable withoutDueDate = JsonNullable.of(false);
public static final String JSON_PROPERTY_FOLLOW_UP_DATE = "followUpDate";
private JsonNullable followUpDate = JsonNullable.undefined();
public static final String JSON_PROPERTY_FOLLOW_UP_DATE_EXPRESSION = "followUpDateExpression";
private JsonNullable followUpDateExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_FOLLOW_UP_AFTER = "followUpAfter";
private JsonNullable followUpAfter = JsonNullable.undefined();
public static final String JSON_PROPERTY_FOLLOW_UP_AFTER_EXPRESSION = "followUpAfterExpression";
private JsonNullable followUpAfterExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_FOLLOW_UP_BEFORE = "followUpBefore";
private JsonNullable followUpBefore = JsonNullable.undefined();
public static final String JSON_PROPERTY_FOLLOW_UP_BEFORE_EXPRESSION = "followUpBeforeExpression";
private JsonNullable followUpBeforeExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_FOLLOW_UP_BEFORE_OR_NOT_EXISTENT = "followUpBeforeOrNotExistent";
private JsonNullable followUpBeforeOrNotExistent = JsonNullable.undefined();
public static final String JSON_PROPERTY_FOLLOW_UP_BEFORE_OR_NOT_EXISTENT_EXPRESSION = "followUpBeforeOrNotExistentExpression";
private JsonNullable followUpBeforeOrNotExistentExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_CREATED_ON = "createdOn";
private JsonNullable createdOn = JsonNullable.undefined();
public static final String JSON_PROPERTY_CREATED_ON_EXPRESSION = "createdOnExpression";
private JsonNullable createdOnExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_CREATED_AFTER = "createdAfter";
private JsonNullable createdAfter = JsonNullable.undefined();
public static final String JSON_PROPERTY_CREATED_AFTER_EXPRESSION = "createdAfterExpression";
private JsonNullable createdAfterExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_CREATED_BEFORE = "createdBefore";
private JsonNullable createdBefore = JsonNullable.undefined();
public static final String JSON_PROPERTY_CREATED_BEFORE_EXPRESSION = "createdBeforeExpression";
private JsonNullable createdBeforeExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_UPDATED_AFTER = "updatedAfter";
private JsonNullable updatedAfter = JsonNullable.undefined();
public static final String JSON_PROPERTY_UPDATED_AFTER_EXPRESSION = "updatedAfterExpression";
private JsonNullable updatedAfterExpression = JsonNullable.undefined();
/**
* Restrict to tasks that are in the given delegation state. Valid values are `PENDING` and `RESOLVED`.
*/
public enum DelegationStateEnum {
PENDING("PENDING"),
RESOLVED("RESOLVED");
private String value;
DelegationStateEnum(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static DelegationStateEnum fromValue(String value) {
for (DelegationStateEnum b : DelegationStateEnum.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
}
public static final String JSON_PROPERTY_DELEGATION_STATE = "delegationState";
private JsonNullable delegationState = JsonNullable.undefined();
public static final String JSON_PROPERTY_CANDIDATE_GROUPS = "candidateGroups";
private JsonNullable> candidateGroups = JsonNullable.>undefined();
public static final String JSON_PROPERTY_CANDIDATE_GROUPS_EXPRESSION = "candidateGroupsExpression";
private JsonNullable candidateGroupsExpression = JsonNullable.undefined();
public static final String JSON_PROPERTY_WITH_CANDIDATE_GROUPS = "withCandidateGroups";
private JsonNullable withCandidateGroups = JsonNullable.of(false);
public static final String JSON_PROPERTY_WITHOUT_CANDIDATE_GROUPS = "withoutCandidateGroups";
private JsonNullable withoutCandidateGroups = JsonNullable.of(false);
public static final String JSON_PROPERTY_WITH_CANDIDATE_USERS = "withCandidateUsers";
private JsonNullable withCandidateUsers = JsonNullable.of(false);
public static final String JSON_PROPERTY_WITHOUT_CANDIDATE_USERS = "withoutCandidateUsers";
private JsonNullable withoutCandidateUsers = JsonNullable.of(false);
public static final String JSON_PROPERTY_ACTIVE = "active";
private JsonNullable active = JsonNullable.of(false);
public static final String JSON_PROPERTY_SUSPENDED = "suspended";
private JsonNullable suspended = JsonNullable.of(false);
public static final String JSON_PROPERTY_TASK_VARIABLES = "taskVariables";
private JsonNullable> taskVariables = JsonNullable.>undefined();
public static final String JSON_PROPERTY_PROCESS_VARIABLES = "processVariables";
private JsonNullable> processVariables = JsonNullable.>undefined();
public static final String JSON_PROPERTY_CASE_INSTANCE_VARIABLES = "caseInstanceVariables";
private JsonNullable> caseInstanceVariables = JsonNullable.>undefined();
public static final String JSON_PROPERTY_VARIABLE_NAMES_IGNORE_CASE = "variableNamesIgnoreCase";
private JsonNullable variableNamesIgnoreCase = JsonNullable.of(false);
public static final String JSON_PROPERTY_VARIABLE_VALUES_IGNORE_CASE = "variableValuesIgnoreCase";
private JsonNullable variableValuesIgnoreCase = JsonNullable.of(false);
public static final String JSON_PROPERTY_PARENT_TASK_ID = "parentTaskId";
private JsonNullable parentTaskId = JsonNullable.undefined();
public static final String JSON_PROPERTY_OR_QUERIES = "orQueries";
private JsonNullable> orQueries = JsonNullable.>undefined();
public static final String JSON_PROPERTY_SORTING = "sorting";
private JsonNullable> sorting = JsonNullable.>undefined();
public TaskQueryDto() {
}
public TaskQueryDto taskId(String taskId) {
this.taskId = JsonNullable.of(taskId);
return this;
}
/**
* Restrict to task with the given id.
* @return taskId
**/
@javax.annotation.Nullable
@JsonIgnore
public String getTaskId() {
return taskId.orElse(null);
}
@JsonProperty(JSON_PROPERTY_TASK_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getTaskId_JsonNullable() {
return taskId;
}
@JsonProperty(JSON_PROPERTY_TASK_ID)
public void setTaskId_JsonNullable(JsonNullable taskId) {
this.taskId = taskId;
}
public void setTaskId(String taskId) {
this.taskId = JsonNullable.of(taskId);
}
public TaskQueryDto taskIdIn(List taskIdIn) {
this.taskIdIn = JsonNullable.>of(taskIdIn);
return this;
}
public TaskQueryDto addTaskIdInItem(String taskIdInItem) {
if (this.taskIdIn == null || !this.taskIdIn.isPresent()) {
this.taskIdIn = JsonNullable.>of(new ArrayList<>());
}
try {
this.taskIdIn.get().add(taskIdInItem);
} catch (java.util.NoSuchElementException e) {
// this can never happen, as we make sure above that the value is present
}
return this;
}
/**
* Restrict to tasks with any of the given ids.
* @return taskIdIn
**/
@javax.annotation.Nullable
@JsonIgnore
public List getTaskIdIn() {
return taskIdIn.orElse(null);
}
@JsonProperty(JSON_PROPERTY_TASK_ID_IN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable> getTaskIdIn_JsonNullable() {
return taskIdIn;
}
@JsonProperty(JSON_PROPERTY_TASK_ID_IN)
public void setTaskIdIn_JsonNullable(JsonNullable> taskIdIn) {
this.taskIdIn = taskIdIn;
}
public void setTaskIdIn(List taskIdIn) {
this.taskIdIn = JsonNullable.>of(taskIdIn);
}
public TaskQueryDto processInstanceId(String processInstanceId) {
this.processInstanceId = JsonNullable.of(processInstanceId);
return this;
}
/**
* Restrict to tasks that belong to process instances with the given id.
* @return processInstanceId
**/
@javax.annotation.Nullable
@JsonIgnore
public String getProcessInstanceId() {
return processInstanceId.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getProcessInstanceId_JsonNullable() {
return processInstanceId;
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_ID)
public void setProcessInstanceId_JsonNullable(JsonNullable processInstanceId) {
this.processInstanceId = processInstanceId;
}
public void setProcessInstanceId(String processInstanceId) {
this.processInstanceId = JsonNullable.of(processInstanceId);
}
public TaskQueryDto processInstanceIdIn(List processInstanceIdIn) {
this.processInstanceIdIn = JsonNullable.>of(processInstanceIdIn);
return this;
}
public TaskQueryDto addProcessInstanceIdInItem(String processInstanceIdInItem) {
if (this.processInstanceIdIn == null || !this.processInstanceIdIn.isPresent()) {
this.processInstanceIdIn = JsonNullable.>of(new ArrayList<>());
}
try {
this.processInstanceIdIn.get().add(processInstanceIdInItem);
} catch (java.util.NoSuchElementException e) {
// this can never happen, as we make sure above that the value is present
}
return this;
}
/**
* Restrict to tasks that belong to process instances with the given ids.
* @return processInstanceIdIn
**/
@javax.annotation.Nullable
@JsonIgnore
public List getProcessInstanceIdIn() {
return processInstanceIdIn.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_ID_IN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable> getProcessInstanceIdIn_JsonNullable() {
return processInstanceIdIn;
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_ID_IN)
public void setProcessInstanceIdIn_JsonNullable(JsonNullable> processInstanceIdIn) {
this.processInstanceIdIn = processInstanceIdIn;
}
public void setProcessInstanceIdIn(List processInstanceIdIn) {
this.processInstanceIdIn = JsonNullable.>of(processInstanceIdIn);
}
public TaskQueryDto processInstanceBusinessKey(String processInstanceBusinessKey) {
this.processInstanceBusinessKey = JsonNullable.of(processInstanceBusinessKey);
return this;
}
/**
* Restrict to tasks that belong to process instances with the given business key.
* @return processInstanceBusinessKey
**/
@javax.annotation.Nullable
@JsonIgnore
public String getProcessInstanceBusinessKey() {
return processInstanceBusinessKey.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getProcessInstanceBusinessKey_JsonNullable() {
return processInstanceBusinessKey;
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY)
public void setProcessInstanceBusinessKey_JsonNullable(JsonNullable processInstanceBusinessKey) {
this.processInstanceBusinessKey = processInstanceBusinessKey;
}
public void setProcessInstanceBusinessKey(String processInstanceBusinessKey) {
this.processInstanceBusinessKey = JsonNullable.of(processInstanceBusinessKey);
}
public TaskQueryDto processInstanceBusinessKeyExpression(String processInstanceBusinessKeyExpression) {
this.processInstanceBusinessKeyExpression = JsonNullable.of(processInstanceBusinessKeyExpression);
return this;
}
/**
* Restrict to tasks that belong to process instances with the given business key which is described by an expression. See the [user guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/expression-language/#internal-context-functions) for more information on available functions.
* @return processInstanceBusinessKeyExpression
**/
@javax.annotation.Nullable
@JsonIgnore
public String getProcessInstanceBusinessKeyExpression() {
return processInstanceBusinessKeyExpression.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_EXPRESSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getProcessInstanceBusinessKeyExpression_JsonNullable() {
return processInstanceBusinessKeyExpression;
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_EXPRESSION)
public void setProcessInstanceBusinessKeyExpression_JsonNullable(JsonNullable processInstanceBusinessKeyExpression) {
this.processInstanceBusinessKeyExpression = processInstanceBusinessKeyExpression;
}
public void setProcessInstanceBusinessKeyExpression(String processInstanceBusinessKeyExpression) {
this.processInstanceBusinessKeyExpression = JsonNullable.of(processInstanceBusinessKeyExpression);
}
public TaskQueryDto processInstanceBusinessKeyIn(List processInstanceBusinessKeyIn) {
this.processInstanceBusinessKeyIn = JsonNullable.>of(processInstanceBusinessKeyIn);
return this;
}
public TaskQueryDto addProcessInstanceBusinessKeyInItem(String processInstanceBusinessKeyInItem) {
if (this.processInstanceBusinessKeyIn == null || !this.processInstanceBusinessKeyIn.isPresent()) {
this.processInstanceBusinessKeyIn = JsonNullable.>of(new ArrayList<>());
}
try {
this.processInstanceBusinessKeyIn.get().add(processInstanceBusinessKeyInItem);
} catch (java.util.NoSuchElementException e) {
// this can never happen, as we make sure above that the value is present
}
return this;
}
/**
* Restrict to tasks that belong to process instances with one of the give business keys. The keys need to be in a comma-separated list.
* @return processInstanceBusinessKeyIn
**/
@javax.annotation.Nullable
@JsonIgnore
public List getProcessInstanceBusinessKeyIn() {
return processInstanceBusinessKeyIn.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_IN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable> getProcessInstanceBusinessKeyIn_JsonNullable() {
return processInstanceBusinessKeyIn;
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_IN)
public void setProcessInstanceBusinessKeyIn_JsonNullable(JsonNullable> processInstanceBusinessKeyIn) {
this.processInstanceBusinessKeyIn = processInstanceBusinessKeyIn;
}
public void setProcessInstanceBusinessKeyIn(List processInstanceBusinessKeyIn) {
this.processInstanceBusinessKeyIn = JsonNullable.>of(processInstanceBusinessKeyIn);
}
public TaskQueryDto processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike) {
this.processInstanceBusinessKeyLike = JsonNullable.of(processInstanceBusinessKeyLike);
return this;
}
/**
* Restrict to tasks that have a process instance business key that has the parameter value as a substring.
* @return processInstanceBusinessKeyLike
**/
@javax.annotation.Nullable
@JsonIgnore
public String getProcessInstanceBusinessKeyLike() {
return processInstanceBusinessKeyLike.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_LIKE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getProcessInstanceBusinessKeyLike_JsonNullable() {
return processInstanceBusinessKeyLike;
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_LIKE)
public void setProcessInstanceBusinessKeyLike_JsonNullable(JsonNullable processInstanceBusinessKeyLike) {
this.processInstanceBusinessKeyLike = processInstanceBusinessKeyLike;
}
public void setProcessInstanceBusinessKeyLike(String processInstanceBusinessKeyLike) {
this.processInstanceBusinessKeyLike = JsonNullable.of(processInstanceBusinessKeyLike);
}
public TaskQueryDto processInstanceBusinessKeyLikeExpression(String processInstanceBusinessKeyLikeExpression) {
this.processInstanceBusinessKeyLikeExpression = JsonNullable.of(processInstanceBusinessKeyLikeExpression);
return this;
}
/**
* Restrict to tasks that have a process instance business key that has the parameter value as a substring and is described by an expression. See the [user guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/expression-language/#internal-context-functions) for more information on available functions.
* @return processInstanceBusinessKeyLikeExpression
**/
@javax.annotation.Nullable
@JsonIgnore
public String getProcessInstanceBusinessKeyLikeExpression() {
return processInstanceBusinessKeyLikeExpression.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_LIKE_EXPRESSION)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getProcessInstanceBusinessKeyLikeExpression_JsonNullable() {
return processInstanceBusinessKeyLikeExpression;
}
@JsonProperty(JSON_PROPERTY_PROCESS_INSTANCE_BUSINESS_KEY_LIKE_EXPRESSION)
public void setProcessInstanceBusinessKeyLikeExpression_JsonNullable(JsonNullable processInstanceBusinessKeyLikeExpression) {
this.processInstanceBusinessKeyLikeExpression = processInstanceBusinessKeyLikeExpression;
}
public void setProcessInstanceBusinessKeyLikeExpression(String processInstanceBusinessKeyLikeExpression) {
this.processInstanceBusinessKeyLikeExpression = JsonNullable.of(processInstanceBusinessKeyLikeExpression);
}
public TaskQueryDto processDefinitionId(String processDefinitionId) {
this.processDefinitionId = JsonNullable.of(processDefinitionId);
return this;
}
/**
* Restrict to tasks that belong to a process definition with the given id.
* @return processDefinitionId
**/
@javax.annotation.Nullable
@JsonIgnore
public String getProcessDefinitionId() {
return processDefinitionId.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROCESS_DEFINITION_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getProcessDefinitionId_JsonNullable() {
return processDefinitionId;
}
@JsonProperty(JSON_PROPERTY_PROCESS_DEFINITION_ID)
public void setProcessDefinitionId_JsonNullable(JsonNullable processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = JsonNullable.of(processDefinitionId);
}
public TaskQueryDto processDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = JsonNullable.of(processDefinitionKey);
return this;
}
/**
* Restrict to tasks that belong to a process definition with the given key.
* @return processDefinitionKey
**/
@javax.annotation.Nullable
@JsonIgnore
public String getProcessDefinitionKey() {
return processDefinitionKey.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROCESS_DEFINITION_KEY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable getProcessDefinitionKey_JsonNullable() {
return processDefinitionKey;
}
@JsonProperty(JSON_PROPERTY_PROCESS_DEFINITION_KEY)
public void setProcessDefinitionKey_JsonNullable(JsonNullable processDefinitionKey) {
this.processDefinitionKey = processDefinitionKey;
}
public void setProcessDefinitionKey(String processDefinitionKey) {
this.processDefinitionKey = JsonNullable.of(processDefinitionKey);
}
public TaskQueryDto processDefinitionKeyIn(List processDefinitionKeyIn) {
this.processDefinitionKeyIn = JsonNullable.>of(processDefinitionKeyIn);
return this;
}
public TaskQueryDto addProcessDefinitionKeyInItem(String processDefinitionKeyInItem) {
if (this.processDefinitionKeyIn == null || !this.processDefinitionKeyIn.isPresent()) {
this.processDefinitionKeyIn = JsonNullable.>of(new ArrayList<>());
}
try {
this.processDefinitionKeyIn.get().add(processDefinitionKeyInItem);
} catch (java.util.NoSuchElementException e) {
// this can never happen, as we make sure above that the value is present
}
return this;
}
/**
* Restrict to tasks that belong to a process definition with one of the given keys. The keys need to be in a comma-separated list.
* @return processDefinitionKeyIn
**/
@javax.annotation.Nullable
@JsonIgnore
public List getProcessDefinitionKeyIn() {
return processDefinitionKeyIn.orElse(null);
}
@JsonProperty(JSON_PROPERTY_PROCESS_DEFINITION_KEY_IN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable