Package com.openai.models.beta.realtime
Class InputAudioBufferClearedEvent
-
- All Implemented Interfaces:
public final class InputAudioBufferClearedEvent
Returned when the input audio buffer is cleared by the client with a
input_audio_buffer.clear
event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
InputAudioBufferClearedEvent.Builder
A builder for InputAudioBufferClearedEvent.
-
Method Summary
Modifier and Type Method Description final String
eventId()
The unique ID of the server event. final JsonValue
_type()
The event type, must be input_audio_buffer.cleared
.final JsonField<String>
_eventId()
Returns the raw JSON value of eventId. final Map<String, JsonValue>
_additionalProperties()
final InputAudioBufferClearedEvent.Builder
toBuilder()
final InputAudioBufferClearedEvent
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static InputAudioBufferClearedEvent.Builder
builder()
Returns a mutable builder for constructing an instance of InputAudioBufferClearedEvent. -
-
Method Detail
-
_type
final JsonValue _type()
The event type, must be
input_audio_buffer.cleared
.Expected to always return the following:
JsonValue.from("input_audio_buffer.cleared")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_eventId
final JsonField<String> _eventId()
Returns the raw JSON value of eventId.
Unlike eventId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InputAudioBufferClearedEvent.Builder toBuilder()
-
validate
final InputAudioBufferClearedEvent validate()
-
builder
final static InputAudioBufferClearedEvent.Builder builder()
Returns a mutable builder for constructing an instance of InputAudioBufferClearedEvent.
The following fields are required:
.eventId()
-
-
-
-