Class VersionListPageResponse.Builder
-
- All Implemented Interfaces:
public final class VersionListPageResponse.BuilderA builder for VersionListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final VersionListPageResponse.Builder data(List<SkillVersion> data)
List of skills.
-
data
final VersionListPageResponse.Builder data(JsonField<List<SkillVersion>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<SkillVersion>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 for fetching the next page of results.
If
null, there are no more results available. Pass this value to thepageparameter in the next request to get the next page.
-
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)
-
addData
final VersionListPageResponse.Builder addData(SkillVersion data)
Adds a single SkillVersion to Builder.data.
-
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() .nextPage()
-
-
-
-