Class AttributeGroupPagedQueryResponseImpl
- All Implemented Interfaces:
AttributeGroupPagedQueryResponse
,ResourcePagedQueryResponse<AttributeGroup>
,io.vrap.rmf.base.client.ModelBase
PagedQueryResult with results
containing an array of AttributeGroup.
-
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 in the query request.Offset supplied by the client or the server default.AttributeGroups matching the query.getTotal()
Total number of results matching the query.int
hashCode()
void
Actual number of results returned.void
Number of results requested in the query request.void
Offset supplied by the client or the server default.void
setResults
(AttributeGroup... results) AttributeGroups matching the query.void
setResults
(List<AttributeGroup> results) AttributeGroups 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 com.commercetools.api.models.attribute_group.AttributeGroupPagedQueryResponse
withAttributeGroupPagedQueryResponse
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
-
AttributeGroupPagedQueryResponseImpl
public AttributeGroupPagedQueryResponseImpl()create empty instance
-
-
Method Details
-
getLimit
Number of results requested in the query request.
- Specified by:
getLimit
in interfaceAttributeGroupPagedQueryResponse
- Specified by:
getLimit
in interfaceResourcePagedQueryResponse<AttributeGroup>
- Returns:
- limit
-
getOffset
Offset supplied by the client or the server default. It is the number of elements skipped, not a page number.
- Specified by:
getOffset
in interfaceAttributeGroupPagedQueryResponse
- Specified by:
getOffset
in interfaceResourcePagedQueryResponse<AttributeGroup>
- Returns:
- offset
-
getCount
Actual number of results returned.
- Specified by:
getCount
in interfaceAttributeGroupPagedQueryResponse
- Specified by:
getCount
in interfaceResourcePagedQueryResponse<AttributeGroup>
- Returns:
- count
-
getTotal
Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter
withTotal=false
. When the results are filtered with a Query Predicate,total
is subject to a limit.- Specified by:
getTotal
in interfaceAttributeGroupPagedQueryResponse
- Specified by:
getTotal
in interfaceResourcePagedQueryResponse<AttributeGroup>
- Returns:
- total
-
getResults
AttributeGroups matching the query.
- Specified by:
getResults
in interfaceAttributeGroupPagedQueryResponse
- Specified by:
getResults
in interfaceResourcePagedQueryResponse<AttributeGroup>
- Returns:
- results
-
setLimit
Description copied from interface:AttributeGroupPagedQueryResponse
Number of results requested in the query request.
- Specified by:
setLimit
in interfaceAttributeGroupPagedQueryResponse
- Parameters:
limit
- value to be set
-
setOffset
Description copied from interface:AttributeGroupPagedQueryResponse
Offset supplied by the client or the server default. It is the number of elements skipped, not a page number.
- Specified by:
setOffset
in interfaceAttributeGroupPagedQueryResponse
- Parameters:
offset
- value to be set
-
setCount
Description copied from interface:AttributeGroupPagedQueryResponse
Actual number of results returned.
- Specified by:
setCount
in interfaceAttributeGroupPagedQueryResponse
- Parameters:
count
- value to be set
-
setTotal
Description copied from interface:AttributeGroupPagedQueryResponse
Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter
withTotal=false
. When the results are filtered with a Query Predicate,total
is subject to a limit.- Specified by:
setTotal
in interfaceAttributeGroupPagedQueryResponse
- Parameters:
total
- value to be set
-
setResults
Description copied from interface:AttributeGroupPagedQueryResponse
AttributeGroups matching the query.
- Specified by:
setResults
in interfaceAttributeGroupPagedQueryResponse
- Parameters:
results
- values to be set
-
setResults
Description copied from interface:AttributeGroupPagedQueryResponse
AttributeGroups matching the query.
- Specified by:
setResults
in interfaceAttributeGroupPagedQueryResponse
- Parameters:
results
- values to be set
-
equals
-
hashCode
-