Package com.braintrustdata.api.models
Class ProjectScoreListPageResponse.Builder
-
- All Implemented Interfaces:
public final class ProjectScoreListPageResponse.BuilderA builder for ProjectScoreListPageResponse.
-
-
Method Summary
Modifier and Type Method Description final ProjectScoreListPageResponse.Builderobjects(List<ProjectScore> objects)A list of project_score objects final ProjectScoreListPageResponse.Builderobjects(JsonField<List<ProjectScore>> objects)Sets Builder.objects to an arbitrary JSON value. final ProjectScoreListPageResponse.BuilderaddObject(ProjectScore object_)Adds a single ProjectScore to objects. final ProjectScoreListPageResponse.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ProjectScoreListPageResponse.BuilderputAdditionalProperty(String key, JsonValue value)final ProjectScoreListPageResponse.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ProjectScoreListPageResponse.BuilderremoveAdditionalProperty(String key)final ProjectScoreListPageResponse.BuilderremoveAllAdditionalProperties(Set<String> keys)final ProjectScoreListPageResponsebuild()Returns an immutable instance of ProjectScoreListPageResponse. -
-
Method Detail
-
objects
final ProjectScoreListPageResponse.Builder objects(List<ProjectScore> objects)
A list of project_score objects
-
objects
final ProjectScoreListPageResponse.Builder objects(JsonField<List<ProjectScore>> objects)
Sets Builder.objects to an arbitrary JSON value.
You should usually call Builder.objects with a well-typed
List<ProjectScore>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addObject
final ProjectScoreListPageResponse.Builder addObject(ProjectScore object_)
Adds a single ProjectScore to objects.
-
additionalProperties
final ProjectScoreListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ProjectScoreListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ProjectScoreListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ProjectScoreListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ProjectScoreListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ProjectScoreListPageResponse build()
Returns an immutable instance of ProjectScoreListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.objects()
-
-
-
-