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