Interface ProjectCategoryRecommendationPagedQueryResponse
public interface ProjectCategoryRecommendationPagedQueryResponse
ProjectCategoryRecommendationPagedQueryResponse
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectCategoryRecommendationPagedQueryResponse projectCategoryRecommendationPagedQueryResponse = ProjectCategoryRecommendationPagedQueryResponse.builder()
.count(0.3)
.total(0.3)
.offset(0.3)
.plusResults(resultsBuilder -> resultsBuilder)
.meta(metaBuilder -> metaBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectCategoryRecommendationPagedQueryResponsecreate builder for ProjectCategoryRecommendationPagedQueryResponse instancefactory method to create a deep copy of ProjectCategoryRecommendationPagedQueryResponse@NotNull Long
getCount()
@NotNull @Valid ProjectCategoryRecommendationMeta
getMeta()
@NotNull Long
Number of elements skipped.@NotNull @Valid List<ProjectCategoryRecommendation>
@NotNull Long
getTotal()
of()
factory methodfactory method to create a shallow copy ProjectCategoryRecommendationPagedQueryResponsevoid
set countvoid
set metavoid
Number of elements skipped.void
setResults
(ProjectCategoryRecommendation... results) set resultsvoid
setResults
(List<ProjectCategoryRecommendation> results) set resultsvoid
set totalstatic com.fasterxml.jackson.core.type.TypeReference<ProjectCategoryRecommendationPagedQueryResponse>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withProjectCategoryRecommendationPagedQueryResponse
(Function<ProjectCategoryRecommendationPagedQueryResponse, T> helper) accessor map function
-
Method Details
-
getCount
- Returns:
- count
-
getTotal
- Returns:
- total
-
getOffset
Number of elements skipped.
- Returns:
- offset
-
getResults
- Returns:
- results
-
getMeta
- Returns:
- meta
-
setCount
set count- Parameters:
count
- value to be set
-
setTotal
set total- Parameters:
total
- value to be set
-
setOffset
Number of elements skipped.
- Parameters:
offset
- value to be set
-
setResults
set results- Parameters:
results
- values to be set
-
setResults
set results- Parameters:
results
- values to be set
-
setMeta
set meta- Parameters:
meta
- value to be set
-
of
factory method- Returns:
- instance of ProjectCategoryRecommendationPagedQueryResponse
-
of
static ProjectCategoryRecommendationPagedQueryResponse of(ProjectCategoryRecommendationPagedQueryResponse template) factory method to create a shallow copy ProjectCategoryRecommendationPagedQueryResponse- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProjectCategoryRecommendationPagedQueryResponse deepCopy(@Nullable ProjectCategoryRecommendationPagedQueryResponse template) factory method to create a deep copy of ProjectCategoryRecommendationPagedQueryResponse- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectCategoryRecommendationPagedQueryResponse- Returns:
- builder
-
builder
static ProjectCategoryRecommendationPagedQueryResponseBuilder builder(ProjectCategoryRecommendationPagedQueryResponse template) create builder for ProjectCategoryRecommendationPagedQueryResponse instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectCategoryRecommendationPagedQueryResponse
default <T> T withProjectCategoryRecommendationPagedQueryResponse(Function<ProjectCategoryRecommendationPagedQueryResponse, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProjectCategoryRecommendationPagedQueryResponse> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-