Package com.braintrustdata.api.models
Class ChatCompletionContentPartText.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionContentPartText.BuilderA builder for ChatCompletionContentPartText.
-
-
Method Summary
-
-
Method Detail
-
type
final ChatCompletionContentPartText.Builder type(ChatCompletionContentPartText.Type type)
-
type
final ChatCompletionContentPartText.Builder type(JsonField<ChatCompletionContentPartText.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
text
final ChatCompletionContentPartText.Builder text(String text)
-
text
final ChatCompletionContentPartText.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ChatCompletionContentPartText.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatCompletionContentPartText.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatCompletionContentPartText.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatCompletionContentPartText.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatCompletionContentPartText.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatCompletionContentPartText build()
Returns an immutable instance of ChatCompletionContentPartText.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type()
-
-
-
-