Class TranscriptionSessionUpdate
-
- All Implemented Interfaces:
public final class TranscriptionSessionUpdateSend this event to update a transcription session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTranscriptionSessionUpdate.BuilderA builder for TranscriptionSessionUpdate.
public final classTranscriptionSessionUpdate.SessionRealtime transcription session object configuration.
-
Method Summary
Modifier and Type Method Description final TranscriptionSessionUpdate.Sessionsession()Realtime transcription session object configuration. final JsonValue_type()The event type, must be transcription_session.update.final Optional<String>eventId()Optional client-generated ID used to identify this event. final JsonField<TranscriptionSessionUpdate.Session>_session()Returns the raw JSON value of session. final JsonField<String>_eventId()Returns the raw JSON value of eventId. final Map<String, JsonValue>_additionalProperties()final TranscriptionSessionUpdate.BuildertoBuilder()final TranscriptionSessionUpdatevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TranscriptionSessionUpdate.Builderbuilder()Returns a mutable builder for constructing an instance of TranscriptionSessionUpdate. -
-
Method Detail
-
session
final TranscriptionSessionUpdate.Session session()
Realtime transcription session object configuration.
-
_type
final JsonValue _type()
The event type, must be
transcription_session.update.Expected to always return the following:
JsonValue.from("transcription_session.update")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_session
final JsonField<TranscriptionSessionUpdate.Session> _session()
Returns the raw JSON value of session.
Unlike session, this method doesn't throw if the JSON field has an unexpected type.
-
_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 TranscriptionSessionUpdate.Builder toBuilder()
-
validate
final TranscriptionSessionUpdate validate()
-
builder
final static TranscriptionSessionUpdate.Builder builder()
Returns a mutable builder for constructing an instance of TranscriptionSessionUpdate.
The following fields are required:
.session()
-
-
-
-