Class TranscriptionSessionUpdate
-
- All Implemented Interfaces:
public final class TranscriptionSessionUpdate
Send this event to update a transcription session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
TranscriptionSessionUpdate.Builder
A builder for TranscriptionSessionUpdate.
public final class
TranscriptionSessionUpdate.Session
Realtime transcription session object configuration.
-
Method Summary
Modifier and Type Method Description final TranscriptionSessionUpdate.Session
session()
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.Builder
toBuilder()
final TranscriptionSessionUpdate
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static TranscriptionSessionUpdate.Builder
builder()
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()
-
-
-
-