Class HistoricBatchQueryDto
java.lang.Object
org.camunda.community.rest.client.dto.HistoricBatchQueryDto
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class HistoricBatchQueryDto
extends Object
Query for the historic batches to set the removal time for.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSortingItem(HistoricBatchQueryDtoSortingInner sortingItem) addTenantIdInItem(String tenantIdInItem) booleanFilter by batch id.org.openapitools.jackson.nullable.JsonNullable<String>Filter completed or not completed batches.org.openapitools.jackson.nullable.JsonNullable<Boolean>An array of criteria to sort the result by.org.openapitools.jackson.nullable.JsonNullable<List<HistoricBatchQueryDtoSortingInner>>Filter by a comma-separated list of tenant ids.getType()Filter by batch type.org.openapitools.jackson.nullable.JsonNullable<String>Only include batches which belong to no tenant.org.openapitools.jackson.nullable.JsonNullable<Boolean>inthashCode()voidsetBatchId(String batchId) voidsetBatchId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> batchId) voidsetCompleted(Boolean completed) voidsetCompleted_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> completed) voidsetSorting(List<HistoricBatchQueryDtoSortingInner> sorting) voidsetSorting_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<HistoricBatchQueryDtoSortingInner>> sorting) voidsetTenantIdIn(List<String> tenantIdIn) voidsetTenantIdIn_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tenantIdIn) voidvoidsetType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> type) voidsetWithoutTenantId(Boolean withoutTenantId) voidsetWithoutTenantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> withoutTenantId) sorting(List<HistoricBatchQueryDtoSortingInner> sorting) tenantIdIn(List<String> tenantIdIn) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.withoutTenantId(Boolean withoutTenantId)
-
Field Details
-
JSON_PROPERTY_BATCH_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_COMPLETED
- See Also:
-
JSON_PROPERTY_TENANT_ID_IN
- See Also:
-
JSON_PROPERTY_WITHOUT_TENANT_ID
- See Also:
-
JSON_PROPERTY_SORTING
- See Also:
-
-
Constructor Details
-
HistoricBatchQueryDto
public HistoricBatchQueryDto()
-
-
Method Details
-
batchId
-
getBatchId
Filter by batch id.- Returns:
- batchId
-
getBatchId_JsonNullable
-
setBatchId_JsonNullable
-
setBatchId
-
type
-
getType
Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types.- Returns:
- type
-
getType_JsonNullable
-
setType_JsonNullable
-
setType
-
completed
-
getCompleted
Filter completed or not completed batches. If the value is `true`, only completed batches, i.e., end time is set, are returned. Otherwise, if the value is `false`, only running batches, i.e., end time is null, are returned.- Returns:
- completed
-
getCompleted_JsonNullable
-
setCompleted_JsonNullable
public void setCompleted_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> completed) -
setCompleted
-
tenantIdIn
-
addTenantIdInItem
-
getTenantIdIn
Filter by a comma-separated list of tenant ids. A batch matches if it has one of the given tenant ids.- Returns:
- tenantIdIn
-
getTenantIdIn_JsonNullable
-
setTenantIdIn_JsonNullable
-
setTenantIdIn
-
withoutTenantId
-
getWithoutTenantId
Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior.- Returns:
- withoutTenantId
-
getWithoutTenantId_JsonNullable
-
setWithoutTenantId_JsonNullable
public void setWithoutTenantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> withoutTenantId) -
setWithoutTenantId
-
sorting
-
addSortingItem
-
getSorting
An array of criteria to sort the result by. Each element of the array is an object that specifies one ordering. The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc. Has no effect for the `/count` endpoint- Returns:
- sorting
-
getSorting_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<HistoricBatchQueryDtoSortingInner>> getSorting_JsonNullable() -
setSorting_JsonNullable
public void setSorting_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<HistoricBatchQueryDtoSortingInner>> sorting) -
setSorting
-
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
-