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