Interface ImportContainerPagedResponse
public interface ImportContainerPagedResponse
PagedQueryResult for ImportContainers. Used as a response to a query request for ImportContainers.
Example to create an instance using the builder pattern
ImportContainerPagedResponse importContainerPagedResponse = ImportContainerPagedResponse.builder()
.limit(1)
.offset(1)
.count(1)
.total(1)
.plusResults(resultsBuilder -> resultsBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ImportContainerPagedResponsebuilder
(ImportContainerPagedResponse template) create builder for ImportContainerPagedResponse instancestatic ImportContainerPagedResponse
deepCopy
(ImportContainerPagedResponse template) factory method to create a deep copy of ImportContainerPagedResponse@NotNull Long
getCount()
The actual number of results returned.@NotNull Integer
getLimit()
Number of results requested.@NotNull Long
Number of elements skipped.@NotNull @Valid List<ImportContainer>
The array of Import Containers matching the query.@NotNull Long
getTotal()
The total number of results matching the query.static ImportContainerPagedResponse
of()
factory methodstatic ImportContainerPagedResponse
of
(ImportContainerPagedResponse template) factory method to create a shallow copy ImportContainerPagedResponsevoid
The actual number of results returned.void
Number of results requested.void
Number of elements skipped.void
setResults
(ImportContainer... results) The array of Import Containers matching the query.void
setResults
(List<ImportContainer> results) The array of Import Containers matching the query.void
The total number of results matching the query.static com.fasterxml.jackson.core.type.TypeReference<ImportContainerPagedResponse>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getLimit
Number of results requested.
- Returns:
- limit
-
getOffset
Number of elements skipped.
- Returns:
- offset
-
getCount
The actual number of results returned.
- Returns:
- count
-
getTotal
The total number of results matching the query.
- Returns:
- total
-
getResults
The array of Import Containers matching the query.
- Returns:
- results
-
setLimit
Number of results requested.
- Parameters:
limit
- value to be set
-
setOffset
Number of elements skipped.
- Parameters:
offset
- value to be set
-
setCount
The actual number of results returned.
- Parameters:
count
- value to be set
-
setTotal
The total number of results matching the query.
- Parameters:
total
- value to be set
-
setResults
The array of Import Containers matching the query.
- Parameters:
results
- values to be set
-
setResults
The array of Import Containers matching the query.
- Parameters:
results
- values to be set
-
of
factory method- Returns:
- instance of ImportContainerPagedResponse
-
of
factory method to create a shallow copy ImportContainerPagedResponse- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ImportContainerPagedResponse deepCopy(@Nullable ImportContainerPagedResponse template) factory method to create a deep copy of ImportContainerPagedResponse- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ImportContainerPagedResponse- Returns:
- builder
-
builder
create builder for ImportContainerPagedResponse instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withImportContainerPagedResponse
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-