Package com.openai.models.responses
Class ResponseAudioDeltaEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseAudioDeltaEvent.BuilderA builder for ResponseAudioDeltaEvent.
-
-
Method Summary
Modifier and Type Method Description final ResponseAudioDeltaEvent.Builderdelta(String delta)A chunk of Base64 encoded response audio bytes. final ResponseAudioDeltaEvent.Builderdelta(JsonField<String> delta)Sets Builder.delta to an arbitrary JSON value. final ResponseAudioDeltaEvent.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ResponseAudioDeltaEvent.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseAudioDeltaEvent.BuilderputAdditionalProperty(String key, JsonValue value)final ResponseAudioDeltaEvent.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ResponseAudioDeltaEvent.BuilderremoveAdditionalProperty(String key)final ResponseAudioDeltaEvent.BuilderremoveAllAdditionalProperties(Set<String> keys)final ResponseAudioDeltaEventbuild()Returns an immutable instance of ResponseAudioDeltaEvent. -
-
Method Detail
-
delta
final ResponseAudioDeltaEvent.Builder delta(String delta)
A chunk of Base64 encoded response audio bytes.
-
delta
final ResponseAudioDeltaEvent.Builder delta(JsonField<String> delta)
Sets Builder.delta to an arbitrary JSON value.
You should usually call Builder.delta with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseAudioDeltaEvent.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.delta")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseAudioDeltaEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseAudioDeltaEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseAudioDeltaEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseAudioDeltaEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseAudioDeltaEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseAudioDeltaEvent build()
Returns an immutable instance of ResponseAudioDeltaEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.delta()
-
-
-
-