Class ReadNavigationRequest
java.lang.Object
de.codebarista.shopware.model.core.ReadNavigationRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-10T11:26:02.541008353+02:00[Europe/Berlin]",
comments="Generator version: 7.5.0")
public class ReadNavigationRequest
extends Object
ReadNavigationRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether the total for the total number of hits should be determined for the search query. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAggregationsItem(CriteriaAggregationsInner aggregationsItem) addBuildTreeItem(Object buildTreeItem) addFieldsItem(String fieldsItem) addFilterItem(CriteriaFilterInner filterItem) addGroupingItem(String groupingItem) addPostFilterItem(CriteriaFilterInner postFilterItem) addSortItem(CriteriaSortInner sortItem) aggregations(List<CriteriaAggregationsInner> aggregations) associations(Object associations) booleanfilter(List<CriteriaFilterInner> filter) Used to perform aggregations on the search result.Used to fetch associations which are not fetched by default.Return the categories as a tree or as a flat list.getDepth()Determines the depth of fetched navigation levels.Fields which should be returned in the search result.List of filters to restrict the search result.Perform groupings over certain fieldsgetLimit()Number of items per result pagegetPage()Search result pageFilters that applied without affecting aggregations.getSort()Sorting in the search result.Whether the total for the total number of hits should be determined for the search query.inthashCode()postFilter(List<CriteriaFilterInner> postFilter) voidsetAggregations(List<CriteriaAggregationsInner> aggregations) voidsetAssociations(Object associations) voidsetBuildTree(List<Object> buildTree) voidvoidvoidsetFilter(List<CriteriaFilterInner> filter) voidsetGrouping(List<String> grouping) voidvoidvoidsetPostFilter(List<CriteriaFilterInner> postFilter) voidsetSort(List<CriteriaSortInner> sort) voidsetTotalCountMode(ReadNavigationRequest.TotalCountModeEnum totalCountMode) sort(List<CriteriaSortInner> sort) toString()totalCountMode(ReadNavigationRequest.TotalCountModeEnum totalCountMode)
-
Field Details
-
JSON_PROPERTY_PAGE
- See Also:
-
JSON_PROPERTY_LIMIT
- See Also:
-
JSON_PROPERTY_FILTER
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_POST_FILTER
- See Also:
-
JSON_PROPERTY_ASSOCIATIONS
- See Also:
-
JSON_PROPERTY_AGGREGATIONS
- See Also:
-
JSON_PROPERTY_GROUPING
- See Also:
-
JSON_PROPERTY_FIELDS
- See Also:
-
JSON_PROPERTY_TOTAL_COUNT_MODE
- See Also:
-
JSON_PROPERTY_DEPTH
- See Also:
-
JSON_PROPERTY_BUILD_TREE
- See Also:
-
-
Constructor Details
-
ReadNavigationRequest
public ReadNavigationRequest()
-
-
Method Details
-
page
-
getPage
Search result page- Returns:
- page
-
setPage
-
limit
-
getLimit
Number of items per result page- Returns:
- limit
-
setLimit
-
filter
-
addFilterItem
-
getFilter
List of filters to restrict the search result. For more information, see [Search Queries > Filter](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#filter)- Returns:
- filter
-
setFilter
-
sort
-
addSortItem
-
getSort
Sorting in the search result.- Returns:
- sort
-
setSort
-
postFilter
-
addPostFilterItem
-
getPostFilter
Filters that applied without affecting aggregations. For more information, see [Search Queries > Post Filter](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#post-filter)- Returns:
- postFilter
-
setPostFilter
-
associations
-
getAssociations
Used to fetch associations which are not fetched by default.- Returns:
- associations
-
setAssociations
-
aggregations
-
addAggregationsItem
-
getAggregations
Used to perform aggregations on the search result. For more information, see [Search Queries > Aggregations](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#aggregations)- Returns:
- aggregations
-
setAggregations
-
grouping
-
addGroupingItem
-
getGrouping
Perform groupings over certain fields- Returns:
- grouping
-
setGrouping
-
fields
-
addFieldsItem
-
getFields
Fields which should be returned in the search result.- Returns:
- fields
-
setFields
-
getTotalCountMode
Whether the total for the total number of hits should be determined for the search query. none = disabled total count, exact = calculate exact total amount (slow), next-pages = calculate only for next page (fast)- Returns:
- totalCountMode
-
depth
-
getDepth
Determines the depth of fetched navigation levels.- Returns:
- depth
-
setDepth
-
buildTree
-
addBuildTreeItem
-
getBuildTree
Return the categories as a tree or as a flat list.- Returns:
- buildTree
-
setBuildTree
-
equals
-
hashCode
public int hashCode() -
toString
-