Class TranscriptionSessionUpdatedEvent.Session
-
- All Implemented Interfaces:
public final class TranscriptionSessionUpdatedEvent.Session
A Realtime transcription session configuration object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
TranscriptionSessionUpdatedEvent.Session.Builder
A builder for Session.
public final class
TranscriptionSessionUpdatedEvent.Session.Audio
Configuration for input audio for the session.
public final class
TranscriptionSessionUpdatedEvent.Session.Include
-
Method Summary
Modifier and Type Method Description final Optional<String>
id()
Unique identifier for the session that looks like sess_1234567890abcdef
.final Optional<TranscriptionSessionUpdatedEvent.Session.Audio>
audio()
Configuration for input audio for the session. final Optional<Long>
expiresAt()
Expiration timestamp for the session, in seconds since epoch. final Optional<List<TranscriptionSessionUpdatedEvent.Session.Include>>
include()
Additional fields to include in server outputs. final Optional<String>
object_()
The object type. final JsonField<String>
_id()
Returns the raw JSON value of id. final JsonField<TranscriptionSessionUpdatedEvent.Session.Audio>
_audio()
Returns the raw JSON value of audio. final JsonField<Long>
_expiresAt()
Returns the raw JSON value of expiresAt. final JsonField<List<TranscriptionSessionUpdatedEvent.Session.Include>>
_include()
Returns the raw JSON value of include. final JsonField<String>
_object_()
Returns the raw JSON value of object_. final Map<String, JsonValue>
_additionalProperties()
final TranscriptionSessionUpdatedEvent.Session.Builder
toBuilder()
final TranscriptionSessionUpdatedEvent.Session
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static TranscriptionSessionUpdatedEvent.Session.Builder
builder()
Returns a mutable builder for constructing an instance of Session. -
-
Method Detail
-
id
final Optional<String> id()
Unique identifier for the session that looks like
sess_1234567890abcdef
.
-
audio
final Optional<TranscriptionSessionUpdatedEvent.Session.Audio> audio()
Configuration for input audio for the session.
-
expiresAt
final Optional<Long> expiresAt()
Expiration timestamp for the session, in seconds since epoch.
-
include
final Optional<List<TranscriptionSessionUpdatedEvent.Session.Include>> include()
Additional fields to include in server outputs.
item.input_audio_transcription.logprobs
: Include logprobs for input audio transcription.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_audio
final JsonField<TranscriptionSessionUpdatedEvent.Session.Audio> _audio()
Returns the raw JSON value of audio.
Unlike audio, this method doesn't throw if the JSON field has an unexpected type.
-
_expiresAt
final JsonField<Long> _expiresAt()
Returns the raw JSON value of expiresAt.
Unlike expiresAt, this method doesn't throw if the JSON field has an unexpected type.
-
_include
final JsonField<List<TranscriptionSessionUpdatedEvent.Session.Include>> _include()
Returns the raw JSON value of include.
Unlike include, this method doesn't throw if the JSON field has an unexpected type.
-
_object_
final JsonField<String> _object_()
Returns the raw JSON value of object_.
Unlike object_, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TranscriptionSessionUpdatedEvent.Session.Builder toBuilder()
-
validate
final TranscriptionSessionUpdatedEvent.Session validate()
-
builder
final static TranscriptionSessionUpdatedEvent.Session.Builder builder()
Returns a mutable builder for constructing an instance of Session.
-
-
-
-