Class ProductSelectionProductPagedQueryResponseImpl
- All Implemented Interfaces:
ProductSelectionProductPagedQueryResponse
,ResourcePagedQueryResponse<AssignedProductReference>
,io.vrap.rmf.base.client.ModelBase
PagedQueryResult containing an array of AssignedProductReference.
-
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.References to Products that are assigned to the ProductSelection.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
(AssignedProductReference... results) References to Products that are assigned to the ProductSelection.void
setResults
(List<AssignedProductReference> results) References to Products that are assigned to the ProductSelection.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.ProductSelectionProductPagedQueryResponse
withProductSelectionProductPagedQueryResponse
Methods inherited from interface com.commercetools.api.models.ResourcePagedQueryResponse
getPageIndex, getTotalPages, head, isFirst, isLast
-
Constructor Details
-
ProductSelectionProductPagedQueryResponseImpl
create empty instance
-
-
Method Details
-
getLimit
Number of results requested.
- Specified by:
getLimit
in interfaceProductSelectionProductPagedQueryResponse
- Specified by:
getLimit
in interfaceResourcePagedQueryResponse<AssignedProductReference>
- Returns:
- limit
-
getOffset
Number of elements skipped.
- Specified by:
getOffset
in interfaceProductSelectionProductPagedQueryResponse
- Specified by:
getOffset
in interfaceResourcePagedQueryResponse<AssignedProductReference>
- Returns:
- offset
-
getCount
Actual number of results returned.
- Specified by:
getCount
in interfaceProductSelectionProductPagedQueryResponse
- Specified by:
getCount
in interfaceResourcePagedQueryResponse<AssignedProductReference>
- 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 interfaceProductSelectionProductPagedQueryResponse
- Specified by:
getTotal
in interfaceResourcePagedQueryResponse<AssignedProductReference>
- Returns:
- total
-
getResults
References to Products that are assigned to the ProductSelection.
- Specified by:
getResults
in interfaceProductSelectionProductPagedQueryResponse
- Specified by:
getResults
in interfaceResourcePagedQueryResponse<AssignedProductReference>
- Returns:
- results
-
setLimit
Description copied from interface:ProductSelectionProductPagedQueryResponse
Number of results requested.
- Specified by:
setLimit
in interfaceProductSelectionProductPagedQueryResponse
- Parameters:
limit
- value to be set
-
setOffset
Description copied from interface:ProductSelectionProductPagedQueryResponse
Number of elements skipped.
- Specified by:
setOffset
in interfaceProductSelectionProductPagedQueryResponse
- Parameters:
offset
- value to be set
-
setCount
Description copied from interface:ProductSelectionProductPagedQueryResponse
Actual number of results returned.
- Specified by:
setCount
in interfaceProductSelectionProductPagedQueryResponse
- Parameters:
count
- value to be set
-
setTotal
Description copied from interface:ProductSelectionProductPagedQueryResponse
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 interfaceProductSelectionProductPagedQueryResponse
- Parameters:
total
- value to be set
-
setResults
Description copied from interface:ProductSelectionProductPagedQueryResponse
References to Products that are assigned to the ProductSelection.
- Specified by:
setResults
in interfaceProductSelectionProductPagedQueryResponse
- Parameters:
results
- values to be set
-
setResults
Description copied from interface:ProductSelectionProductPagedQueryResponse
References to Products that are assigned to the ProductSelection.
- Specified by:
setResults
in interfaceProductSelectionProductPagedQueryResponse
- Parameters:
results
- values to be set
-
equals
-
hashCode
-