Class RealtimeServerEvent.OutputAudioBufferStopped.Builder
-
- All Implemented Interfaces:
public final class RealtimeServerEvent.OutputAudioBufferStopped.Builder
A builder for OutputAudioBufferStopped.
-
-
Method Summary
-
-
Method Detail
-
eventId
final RealtimeServerEvent.OutputAudioBufferStopped.Builder eventId(String eventId)
The unique ID of the server event.
-
eventId
final RealtimeServerEvent.OutputAudioBufferStopped.Builder eventId(JsonField<String> eventId)
Sets Builder.eventId to an arbitrary JSON value.
You should usually call Builder.eventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
responseId
final RealtimeServerEvent.OutputAudioBufferStopped.Builder responseId(String responseId)
The unique ID of the response that produced the audio.
-
responseId
final RealtimeServerEvent.OutputAudioBufferStopped.Builder responseId(JsonField<String> responseId)
Sets Builder.responseId to an arbitrary JSON value.
You should usually call Builder.responseId 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 RealtimeServerEvent.OutputAudioBufferStopped.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("output_audio_buffer.stopped")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RealtimeServerEvent.OutputAudioBufferStopped.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RealtimeServerEvent.OutputAudioBufferStopped.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RealtimeServerEvent.OutputAudioBufferStopped.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RealtimeServerEvent.OutputAudioBufferStopped.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RealtimeServerEvent.OutputAudioBufferStopped.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RealtimeServerEvent.OutputAudioBufferStopped build()
Returns an immutable instance of OutputAudioBufferStopped.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.eventId() .responseId()
-
-
-
-