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