Package org.openapitools.client.model
Class HistoricBatchQueryDto
- java.lang.Object
-
- org.openapitools.client.model.HistoricBatchQueryDto
-
public class HistoricBatchQueryDto extends Object
Query for the historic batches to set the removal time for.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_BATCH_IDstatic StringSERIALIZED_NAME_COMPLETEDstatic StringSERIALIZED_NAME_SORTINGstatic StringSERIALIZED_NAME_TENANT_ID_INstatic StringSERIALIZED_NAME_TYPEstatic StringSERIALIZED_NAME_WITHOUT_TENANT_ID
-
Constructor Summary
Constructors Constructor Description HistoricBatchQueryDto()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_BATCH_ID
public static final String SERIALIZED_NAME_BATCH_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COMPLETED
public static final String SERIALIZED_NAME_COMPLETED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TENANT_ID_IN
public static final String SERIALIZED_NAME_TENANT_ID_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WITHOUT_TENANT_ID
public static final String SERIALIZED_NAME_WITHOUT_TENANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SORTING
public static final String SERIALIZED_NAME_SORTING
- See Also:
- Constant Field Values
-
-
Method Detail
-
batchId
public HistoricBatchQueryDto batchId(String batchId)
-
getBatchId
public String getBatchId()
Filter by batch id.- Returns:
- batchId
-
setBatchId
public void setBatchId(String batchId)
-
type
public HistoricBatchQueryDto type(String type)
-
getType
public String getType()
Filter by batch type. See the [User Guide](https://docs.camunda.org/manual/7.18/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types.- Returns:
- type
-
setType
public void setType(String type)
-
completed
public HistoricBatchQueryDto completed(Boolean completed)
-
getCompleted
public Boolean 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
-
setCompleted
public void setCompleted(Boolean completed)
-
tenantIdIn
public HistoricBatchQueryDto tenantIdIn(List<String> tenantIdIn)
-
addTenantIdInItem
public HistoricBatchQueryDto addTenantIdInItem(String tenantIdInItem)
-
getTenantIdIn
public List<String> getTenantIdIn()
Filter by a comma-separated list of tenant ids. A batch matches if it has one of the given tenant ids.- Returns:
- tenantIdIn
-
withoutTenantId
public HistoricBatchQueryDto withoutTenantId(Boolean withoutTenantId)
-
getWithoutTenantId
public Boolean getWithoutTenantId()
Only include batches which belong to no tenant. Value can effectively only be `true`, as `false` is the default behavior.- Returns:
- withoutTenantId
-
setWithoutTenantId
public void setWithoutTenantId(Boolean withoutTenantId)
-
sorting
public HistoricBatchQueryDto sorting(List<HistoricBatchQueryDtoSorting> sorting)
-
addSortingItem
public HistoricBatchQueryDto addSortingItem(HistoricBatchQueryDtoSorting sortingItem)
-
getSorting
public List<HistoricBatchQueryDtoSorting> 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
-
setSorting
public void setSorting(List<HistoricBatchQueryDtoSorting> sorting)
-
-