Class CardListPageResponse.Builder
-
- All Implemented Interfaces:
public final class CardListPageResponse.BuilderA builder for CardListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
pageNumber
final CardListPageResponse.Builder pageNumber(Long pageNumber)
-
pageNumber
final CardListPageResponse.Builder pageNumber(JsonField<Long> pageNumber)
Sets Builder.pageNumber to an arbitrary JSON value.
You should usually call Builder.pageNumber with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pageSize
final CardListPageResponse.Builder pageSize(Long pageSize)
-
pageSize
final CardListPageResponse.Builder pageSize(JsonField<Long> pageSize)
Sets Builder.pageSize to an arbitrary JSON value.
You should usually call Builder.pageSize with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
results
final CardListPageResponse.Builder results(List<CardListResponse> results)
-
results
final CardListPageResponse.Builder results(JsonField<List<CardListResponse>> results)
Sets Builder.results to an arbitrary JSON value.
You should usually call Builder.results with a well-typed
List<CardListResponse>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addResult
final CardListPageResponse.Builder addResult(CardListResponse result)
Adds a single CardListResponse to results.
-
totalCount
final CardListPageResponse.Builder totalCount(Long totalCount)
-
totalCount
final CardListPageResponse.Builder totalCount(JsonField<Long> totalCount)
Sets Builder.totalCount to an arbitrary JSON value.
You should usually call Builder.totalCount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CardListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CardListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CardListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CardListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CardListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CardListPageResponse build()
Returns an immutable instance of CardListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.pageNumber() .pageSize() .results() .totalCount()
-
-
-
-