Class InputAudioBufferClearedEvent
-
- All Implemented Interfaces:
public final class InputAudioBufferClearedEventReturned when the input audio buffer is cleared by the client with a
input_audio_buffer.clearevent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInputAudioBufferClearedEvent.BuilderA builder for InputAudioBufferClearedEvent.
-
Method Summary
Modifier and Type Method Description final StringeventId()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.BuildertoBuilder()final InputAudioBufferClearedEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InputAudioBufferClearedEvent.Builderbuilder()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()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static InputAudioBufferClearedEvent.Builder builder()
Returns a mutable builder for constructing an instance of InputAudioBufferClearedEvent.
The following fields are required:
.eventId()
-
-
-
-