RealtimeTranscriptionClientSecretCreateRequest class

Request for creating a client secret for a transcription session.

Posts to POST /realtime/client_secrets. The session payload uses the transcription-specific shape (no model field, audio limited to inputs). Realtime sessions use RealtimeClientSecretCreateRequest instead.

Annotations
  • @immutable

Properties

expiresAfter ExpiresAfter?
Optional client-secret expiration.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session RealtimeTranscriptionSessionCreateRequest
Transcription session configuration.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON, injecting 'type': 'transcription' on the embedded session if the caller didn't set it explicitly.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override