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