Package com.openai.models
Class ResponseFormatText.Builder
-
- All Implemented Interfaces:
public final class ResponseFormatText.BuilderA builder for ResponseFormatText.
-
-
Method Summary
Modifier and Type Method Description final ResponseFormatText.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ResponseFormatText.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseFormatText.BuilderputAdditionalProperty(String key, JsonValue value)final ResponseFormatText.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseFormatText.BuilderremoveAdditionalProperty(String key)final ResponseFormatText.BuilderremoveAllAdditionalProperties(Set<String> keys)final ResponseFormatTextbuild()Returns an immutable instance of ResponseFormatText. -
-
Method Detail
-
type
final ResponseFormatText.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("text")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseFormatText.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseFormatText.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseFormatText.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseFormatText.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseFormatText.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseFormatText build()
Returns an immutable instance of ResponseFormatText.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-