Package io.camunda.client.protocol.rest
Class SearchQueryPageRequest
java.lang.Object
io.camunda.client.protocol.rest.SearchQueryPageRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class SearchQueryPageRequest
extends Object
Pagination criteria. Can use offset-based pagination (from/limit) OR cursor-based pagination (after/before + limit), but not both.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAfter()Use the `endCursor` value from the previous response to fetch the next page of results.Use the `startCursor` value from the previous response to fetch the previous page of results.getFrom()The index of items to start searching from.getLimit()The maximum number of items to return in one request.inthashCode()voidvoidvoidvoidtoString()
-
Field Details
-
JSON_PROPERTY_LIMIT
- See Also:
-
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_AFTER
- See Also:
-
JSON_PROPERTY_BEFORE
- See Also:
-
-
Constructor Details
-
SearchQueryPageRequest
public SearchQueryPageRequest()
-
-
Method Details
-
limit
-
getLimit
The maximum number of items to return in one request. minimum: 1 maximum: 10000- Returns:
- limit
-
setLimit
-
from
-
getFrom
The index of items to start searching from. minimum: 0- Returns:
- from
-
setFrom
-
after
-
getAfter
Use the `endCursor` value from the previous response to fetch the next page of results.- Returns:
- after
-
setAfter
-
before
-
getBefore
Use the `startCursor` value from the previous response to fetch the previous page of results.- Returns:
- before
-
setBefore
-
equals
-
hashCode
public int hashCode() -
toString
-