Class SkillListPageResponse.Builder
-
- All Implemented Interfaces:
public final class SkillListPageResponse.BuilderA builder for SkillListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final SkillListPageResponse.Builder data(List<Skill> data)
List of skills.
-
data
final SkillListPageResponse.Builder data(JsonField<List<Skill>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<Skill>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextPage
final SkillListPageResponse.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 SkillListPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final SkillListPageResponse.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 SkillListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addData
final SkillListPageResponse.Builder addData(Skill data)
Adds a single Skill to Builder.data.
-
putAdditionalProperty
final SkillListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SkillListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SkillListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SkillListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SkillListPageResponse build()
Returns an immutable instance of SkillListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .nextPage()
-
-
-
-