OpenAI::RealtimeCreateClientSecretResponse
Inherits JSON::Serializable < Reference < Object
Response from creating a session and client secret for the Realtime API.
Constructors
new(pull : JSON::PullParser)
Sourcenew(value : String = "", expires_at : Int64 = 0, session : RealtimeCreateClientSecretResponseSession = RealtimeSessionCreateResponseGA.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
expires_at=(expires_at : Int64)
Expiration timestamp for the client secret, in seconds since epoch.
session=(session : RealtimeCreateClientSecretResponseSession)
The session configuration for either a realtime or transcription session.