Class TranscriptionSessionCreated
-
- All Implemented Interfaces:
public final class TranscriptionSessionCreatedReturned when a transcription session is created.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTranscriptionSessionCreated.BuilderA builder for TranscriptionSessionCreated.
public final classTranscriptionSessionCreated.SessionA Realtime transcription session configuration object.
-
Method Summary
Modifier and Type Method Description final StringeventId()The unique ID of the server event. final TranscriptionSessionCreated.Sessionsession()A Realtime transcription session configuration object. final JsonValue_type()The event type, must be transcription_session.created.final JsonField<String>_eventId()Returns the raw JSON value of eventId. final JsonField<TranscriptionSessionCreated.Session>_session()Returns the raw JSON value of session. final Map<String, JsonValue>_additionalProperties()final TranscriptionSessionCreated.BuildertoBuilder()final TranscriptionSessionCreatedvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TranscriptionSessionCreated.Builderbuilder()Returns a mutable builder for constructing an instance of TranscriptionSessionCreated. -
-
Method Detail
-
session
final TranscriptionSessionCreated.Session session()
A Realtime transcription session configuration object.
-
_type
final JsonValue _type()
The event type, must be
transcription_session.created.Expected to always return the following:
JsonValue.from("transcription_session.created")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.
-
_session
final JsonField<TranscriptionSessionCreated.Session> _session()
Returns the raw JSON value of session.
Unlike session, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TranscriptionSessionCreated.Builder toBuilder()
-
validate
final TranscriptionSessionCreated validate()
-
builder
final static TranscriptionSessionCreated.Builder builder()
Returns a mutable builder for constructing an instance of TranscriptionSessionCreated.
The following fields are required:
.eventId() .session()
-
-
-
-