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