Class ProductsInStorePagedQueryResponseImpl
- All Implemented Interfaces:
ProductsInStorePagedQueryResponse
,ResourcePagedQueryResponse<ProductSelectionAssignment>
,io.vrap.rmf.base.client.ModelBase
PagedQueryResult containing an array of ProductSelectionAssignment.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getCount()
Actual number of results returned.getLimit()
Number of results requested.Number of elements skipped.ProductSelectionAssignments matching the query.getTotal()
Total number of results matching the query.int
hashCode()
void
Actual number of results returned.void
Number of results requested.void
Number of elements skipped.void
setResults
(ProductSelectionAssignment... results) ProductSelectionAssignments matching the query.void
setResults
(List<ProductSelectionAssignment> results) ProductSelectionAssignments matching the query.void
Total number of results matching the query.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product_selection.ProductsInStorePagedQueryResponse
withProductsInStorePagedQueryResponse
Methods inherited from interface com.commercetools.api.models.ResourcePagedQueryResponse
getPageIndex, getTotalPages, head, isFirst, isLast
-
Constructor Details
-
ProductsInStorePagedQueryResponseImpl
public ProductsInStorePagedQueryResponseImpl()create empty instance
-
-
Method Details
-
getLimit
Number of results requested.
- Specified by:
getLimit
in interfaceProductsInStorePagedQueryResponse
- Specified by:
getLimit
in interfaceResourcePagedQueryResponse<ProductSelectionAssignment>
- Returns:
- limit
-
getOffset
Number of elements skipped.
- Specified by:
getOffset
in interfaceProductsInStorePagedQueryResponse
- Specified by:
getOffset
in interfaceResourcePagedQueryResponse<ProductSelectionAssignment>
- Returns:
- offset
-
getCount
Actual number of results returned.
- Specified by:
getCount
in interfaceProductsInStorePagedQueryResponse
- Specified by:
getCount
in interfaceResourcePagedQueryResponse<ProductSelectionAssignment>
- Returns:
- count
-
getTotal
Total number of results matching the query. This number is an estimation that is not strongly consistent. Unlike other endpoints, the Product Selection endpoint does not return this field by default. To get
total
, pass the query parameterwithTotal
set totrue
. When the results are filtered with a Query Predicate,total
is subject to a limit.- Specified by:
getTotal
in interfaceProductsInStorePagedQueryResponse
- Specified by:
getTotal
in interfaceResourcePagedQueryResponse<ProductSelectionAssignment>
- Returns:
- total
-
getResults
ProductSelectionAssignments matching the query.
- Specified by:
getResults
in interfaceProductsInStorePagedQueryResponse
- Specified by:
getResults
in interfaceResourcePagedQueryResponse<ProductSelectionAssignment>
- Returns:
- results
-
setLimit
Description copied from interface:ProductsInStorePagedQueryResponse
Number of results requested.
- Specified by:
setLimit
in interfaceProductsInStorePagedQueryResponse
- Parameters:
limit
- value to be set
-
setOffset
Description copied from interface:ProductsInStorePagedQueryResponse
Number of elements skipped.
- Specified by:
setOffset
in interfaceProductsInStorePagedQueryResponse
- Parameters:
offset
- value to be set
-
setCount
Description copied from interface:ProductsInStorePagedQueryResponse
Actual number of results returned.
- Specified by:
setCount
in interfaceProductsInStorePagedQueryResponse
- Parameters:
count
- value to be set
-
setTotal
Description copied from interface:ProductsInStorePagedQueryResponse
Total number of results matching the query. This number is an estimation that is not strongly consistent. Unlike other endpoints, the Product Selection endpoint does not return this field by default. To get
total
, pass the query parameterwithTotal
set totrue
. When the results are filtered with a Query Predicate,total
is subject to a limit.- Specified by:
setTotal
in interfaceProductsInStorePagedQueryResponse
- Parameters:
total
- value to be set
-
setResults
Description copied from interface:ProductsInStorePagedQueryResponse
ProductSelectionAssignments matching the query.
- Specified by:
setResults
in interfaceProductsInStorePagedQueryResponse
- Parameters:
results
- values to be set
-
setResults
Description copied from interface:ProductsInStorePagedQueryResponse
ProductSelectionAssignments matching the query.
- Specified by:
setResults
in interfaceProductsInStorePagedQueryResponse
- Parameters:
results
- values to be set
-
equals
-
hashCode
public int hashCode()
-