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 Details

  • Constructor Details

    • EntitySearchResult

      public EntitySearchResult()
  • Method Details

    • apiAlias

      public EntitySearchResult apiAlias(String apiAlias)
    • getApiAlias

      @Nullable public String 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

      public void setApiAlias(String apiAlias)
    • entity

      public EntitySearchResult entity(String entity)
    • getEntity

      @Nullable public String getEntity()
      Get entity
      Returns:
      entity
    • setEntity

      public void setEntity(String entity)
    • total

      public EntitySearchResult total(Integer total)
    • getTotal

      @Nullable public Integer getTotal()
      The total number of found entities
      Returns:
      total
    • setTotal

      public void setTotal(Integer total)
    • aggregations

      public EntitySearchResult aggregations(List<Object> aggregations)
    • addAggregationsItem

      public EntitySearchResult addAggregationsItem(Object aggregationsItem)
    • getAggregations

      @Nullable public List<Object> getAggregations()
      Contains aggregated data. A simple example is the determination of the average price from a product search query.
      Returns:
      aggregations
    • setAggregations

      public void setAggregations(List<Object> aggregations)
    • page

      public EntitySearchResult page(Integer page)
    • getPage

      @Nullable public Integer getPage()
      The actual page. This can be used for pagination.
      Returns:
      page
    • setPage

      public void setPage(Integer page)
    • limit

      public EntitySearchResult limit(Integer limit)
    • getLimit

      @Nullable public Integer getLimit()
      The actual limit. This is used for pagination and goes together with the page.
      Returns:
      limit
    • setLimit

      public void setLimit(Integer limit)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object