Class StagedQuotePagedQueryResponseImpl
- All Implemented Interfaces:
ResourcePagedQueryResponse<StagedQuote>
,StagedQuotePagedQueryResponse
,io.vrap.rmf.base.client.ModelBase
PagedQueryResult with results containing an array of StagedQuote.
-
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.Staged Quotes 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
(StagedQuote... results) Staged Quotes matching the query.void
setResults
(List<StagedQuote> results) Staged Quotes matching the query.void
Total number of results matching the query.toString()
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
Methods inherited from interface com.commercetools.api.models.staged_quote.StagedQuotePagedQueryResponse
withStagedQuotePagedQueryResponse
-
Constructor Details
-
StagedQuotePagedQueryResponseImpl
public StagedQuotePagedQueryResponseImpl()create empty instance
-
-
Method Details
-
getLimit
Number of results requested.
- Specified by:
getLimit
in interfaceResourcePagedQueryResponse<StagedQuote>
- Specified by:
getLimit
in interfaceStagedQuotePagedQueryResponse
- Returns:
- limit
-
getOffset
Number of elements skipped.
- Specified by:
getOffset
in interfaceResourcePagedQueryResponse<StagedQuote>
- Specified by:
getOffset
in interfaceStagedQuotePagedQueryResponse
- Returns:
- offset
-
getCount
Actual number of results returned.
- Specified by:
getCount
in interfaceResourcePagedQueryResponse<StagedQuote>
- Specified by:
getCount
in interfaceStagedQuotePagedQueryResponse
- 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 interfaceResourcePagedQueryResponse<StagedQuote>
- Specified by:
getTotal
in interfaceStagedQuotePagedQueryResponse
- Returns:
- total
-
getResults
Staged Quotes matching the query.
- Specified by:
getResults
in interfaceResourcePagedQueryResponse<StagedQuote>
- Specified by:
getResults
in interfaceStagedQuotePagedQueryResponse
- Returns:
- results
-
setLimit
Description copied from interface:StagedQuotePagedQueryResponse
Number of results requested.
- Specified by:
setLimit
in interfaceStagedQuotePagedQueryResponse
- Parameters:
limit
- value to be set
-
setOffset
Description copied from interface:StagedQuotePagedQueryResponse
Number of elements skipped.
- Specified by:
setOffset
in interfaceStagedQuotePagedQueryResponse
- Parameters:
offset
- value to be set
-
setCount
Description copied from interface:StagedQuotePagedQueryResponse
Actual number of results returned.
- Specified by:
setCount
in interfaceStagedQuotePagedQueryResponse
- Parameters:
count
- value to be set
-
setTotal
Description copied from interface:StagedQuotePagedQueryResponse
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 interfaceStagedQuotePagedQueryResponse
- Parameters:
total
- value to be set
-
setResults
Description copied from interface:StagedQuotePagedQueryResponse
Staged Quotes matching the query.
- Specified by:
setResults
in interfaceStagedQuotePagedQueryResponse
- Parameters:
results
- values to be set
-
setResults
Description copied from interface:StagedQuotePagedQueryResponse
Staged Quotes matching the query.
- Specified by:
setResults
in interfaceStagedQuotePagedQueryResponse
- Parameters:
results
- values to be set
-
equals
-
hashCode
public int hashCode() -
toString
-