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