Package com.openai.models
Class ResponseFormatTextPython.Builder
-
- All Implemented Interfaces:
public final class ResponseFormatTextPython.Builder
A builder for ResponseFormatTextPython.
-
-
Method Summary
Modifier and Type Method Description final ResponseFormatTextPython.Builder
type(JsonValue type)
Sets the field to an arbitrary JSON value. final ResponseFormatTextPython.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final ResponseFormatTextPython.Builder
putAdditionalProperty(String key, JsonValue value)
final ResponseFormatTextPython.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final ResponseFormatTextPython.Builder
removeAdditionalProperty(String key)
final ResponseFormatTextPython.Builder
removeAllAdditionalProperties(Set<String> keys)
final ResponseFormatTextPython
build()
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.
-
-
-
-