Class SkillList.Builder
-
- All Implemented Interfaces:
public final class SkillList.BuilderA builder for SkillList.
-
-
Method Summary
Modifier and Type Method Description final SkillList.Builderdata(List<Skill> data)A list of items final SkillList.Builderdata(JsonField<List<Skill>> data)Sets Builder.data to an arbitrary JSON value. final SkillList.BuilderaddData(Skill data)Adds a single Skill to Builder.data. final SkillList.BuilderfirstId(String firstId)The ID of the first item in the list. final SkillList.BuilderfirstId(Optional<String> firstId)Alias for calling Builder.firstId with firstId.orElse(null).final SkillList.BuilderfirstId(JsonField<String> firstId)Sets Builder.firstId to an arbitrary JSON value. final SkillList.BuilderhasMore(Boolean hasMore)Whether there are more items available. final SkillList.BuilderhasMore(JsonField<Boolean> hasMore)Sets Builder.hasMore to an arbitrary JSON value. final SkillList.BuilderlastId(String lastId)The ID of the last item in the list. final SkillList.BuilderlastId(Optional<String> lastId)Alias for calling Builder.lastId with lastId.orElse(null).final SkillList.BuilderlastId(JsonField<String> lastId)Sets Builder.lastId to an arbitrary JSON value. final SkillList.Builderobject_(JsonValue object_)Sets the field to an arbitrary JSON value. final SkillList.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final SkillList.BuilderputAdditionalProperty(String key, JsonValue value)final SkillList.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final SkillList.BuilderremoveAdditionalProperty(String key)final SkillList.BuilderremoveAllAdditionalProperties(Set<String> keys)final SkillListbuild()Returns an immutable instance of SkillList. -
-
Method Detail
-
data
final SkillList.Builder data(List<Skill> data)
A list of items
-
data
final SkillList.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.
-
addData
final SkillList.Builder addData(Skill data)
Adds a single Skill to Builder.data.
-
firstId
final SkillList.Builder firstId(String firstId)
The ID of the first item in the list.
-
firstId
final SkillList.Builder firstId(Optional<String> firstId)
Alias for calling Builder.firstId with
firstId.orElse(null).
-
firstId
final SkillList.Builder firstId(JsonField<String> firstId)
Sets Builder.firstId to an arbitrary JSON value.
You should usually call Builder.firstId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
hasMore
final SkillList.Builder hasMore(Boolean hasMore)
Whether there are more items available.
-
hasMore
final SkillList.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.
-
lastId
final SkillList.Builder lastId(String lastId)
The ID of the last item in the list.
-
lastId
final SkillList.Builder lastId(Optional<String> lastId)
Alias for calling Builder.lastId with
lastId.orElse(null).
-
lastId
final SkillList.Builder lastId(JsonField<String> lastId)
Sets Builder.lastId to an arbitrary JSON value.
You should usually call Builder.lastId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final SkillList.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("list")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SkillList.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SkillList.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SkillList.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SkillList.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SkillList.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-