Class EntitySearchResult
java.lang.Object
de.codebarista.shopware.model.core.EntitySearchResult
@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 EntitySearchResult
extends Object
EntitySearchResult
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAggregationsItem(Object aggregationsItem) aggregations(List<Object> aggregations) booleanContains aggregated data.Alias which can be used to restrict response fields.Get entitygetLimit()The actual limit.getPage()The actual page.getTotal()The total number of found entitiesinthashCode()voidsetAggregations(List<Object> aggregations) voidsetApiAlias(String apiAlias) voidvoidvoidvoidtoString()
-
Field Details
-
JSON_PROPERTY_API_ALIAS
- See Also:
-
JSON_PROPERTY_ENTITY
- See Also:
-
JSON_PROPERTY_TOTAL
- See Also:
-
JSON_PROPERTY_AGGREGATIONS
- See Also:
-
JSON_PROPERTY_PAGE
- See Also:
-
JSON_PROPERTY_LIMIT
- See Also:
-
-
Constructor Details
-
EntitySearchResult
public EntitySearchResult()
-
-
Method Details
-
apiAlias
-
getApiAlias
Alias which can be used to restrict response fields. For more information see [includes](https://shopware.stoplight.io/docs/store-api/docs/concepts/search-queries.md#includes-apialias).- Returns:
- apiAlias
-
setApiAlias
-
entity
-
getEntity
Get entity- Returns:
- entity
-
setEntity
-
total
-
getTotal
The total number of found entities- Returns:
- total
-
setTotal
-
aggregations
-
addAggregationsItem
-
getAggregations
Contains aggregated data. A simple example is the determination of the average price from a product search query.- Returns:
- aggregations
-
setAggregations
-
page
-
getPage
The actual page. This can be used for pagination.- Returns:
- page
-
setPage
-
limit
-
getLimit
The actual limit. This is used for pagination and goes together with the page.- Returns:
- limit
-
setLimit
-
equals
-
hashCode
public int hashCode() -
toString
-