Interface ImportOperationPagedResponse
public interface ImportOperationPagedResponse
PagedQueryResult for Import Operations.
Example to create an instance using the builder pattern
ImportOperationPagedResponse importOperationPagedResponse = ImportOperationPagedResponse.builder()
.limit(1)
.offset(1)
.count(1)
.total(1)
.plusResults(resultsBuilder -> resultsBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ImportOperationPagedResponsebuilder
(ImportOperationPagedResponse template) create builder for ImportOperationPagedResponse instancestatic ImportOperationPagedResponse
deepCopy
(ImportOperationPagedResponse template) factory method to create a deep copy of ImportOperationPagedResponse@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<ImportOperation>
The array of Import Operations matching the query.@NotNull Long
getTotal()
The total number of import operations matching the query.static ImportOperationPagedResponse
of()
factory methodstatic ImportOperationPagedResponse
of
(ImportOperationPagedResponse template) factory method to create a shallow copy ImportOperationPagedResponsevoid
The actual number of results returned.void
Number of results requested.void
Number of elements skipped.void
setResults
(ImportOperation... results) The array of Import Operations matching the query.void
setResults
(List<ImportOperation> results) The array of Import Operations matching the query.void
The total number of import operations matching the query.static com.fasterxml.jackson.core.type.TypeReference<ImportOperationPagedResponse>
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 import operations matching the query.
- Returns:
- total
-
getResults
The array of Import Operations 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 import operations matching the query.
- Parameters:
total
- value to be set
-
setResults
The array of Import Operations matching the query.
- Parameters:
results
- values to be set
-
setResults
The array of Import Operations matching the query.
- Parameters:
results
- values to be set
-
of
factory method- Returns:
- instance of ImportOperationPagedResponse
-
of
factory method to create a shallow copy ImportOperationPagedResponse- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ImportOperationPagedResponse deepCopy(@Nullable ImportOperationPagedResponse template) factory method to create a deep copy of ImportOperationPagedResponse- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ImportOperationPagedResponse- Returns:
- builder
-
builder
create builder for ImportOperationPagedResponse instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withImportOperationPagedResponse
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
-