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