Class SkillListPageResponse.Builder
-
- All Implemented Interfaces:
public final class SkillListPageResponse.BuilderA builder for SkillListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final SkillListPageResponse.Builder data(List<SkillListResponse> data)
List of skills.
-
data
final SkillListPageResponse.Builder data(JsonField<List<SkillListResponse>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<SkillListResponse>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final SkillListPageResponse.Builder addData(SkillListResponse data)
Adds a single SkillListResponse to Builder.data.
-
hasMore
final SkillListPageResponse.Builder hasMore(Boolean hasMore)
Whether there are more results available.
If
true, there are additional results that can be fetched using thenext_pagetoken.
-
hasMore
final SkillListPageResponse.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 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 thepage_tokenparameter 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)
-
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() .hasMore() .nextPage()
-
-
-
-