Class VersionListPageResponse.Builder
-
- All Implemented Interfaces:
public final class VersionListPageResponse.BuilderA builder for VersionListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final VersionListPageResponse.Builder data(List<VersionListResponse> data)
List of skill versions.
-
data
final VersionListPageResponse.Builder data(JsonField<List<VersionListResponse>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<VersionListResponse>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final VersionListPageResponse.Builder addData(VersionListResponse data)
Adds a single VersionListResponse to Builder.data.
-
hasMore
final VersionListPageResponse.Builder hasMore(Boolean hasMore)
Indicates if there are more results in the requested page direction.
-
hasMore
final VersionListPageResponse.Builder hasMore(JsonField<Boolean> hasMore)
Sets Builder.hasMore to an arbitrary JSON value.
You should usually call Builder.hasMore with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextPage
final VersionListPageResponse.Builder nextPage(String nextPage)
Token to provide in as
pagein the subsequent request to retrieve the next page of data.
-
nextPage
final VersionListPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final VersionListPageResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final VersionListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VersionListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VersionListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VersionListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VersionListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VersionListPageResponse build()
Returns an immutable instance of VersionListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .hasMore() .nextPage()
-
-
-
-