class

OpenAI::RealtimeCreateClientSecretResponse

Inherits JSON::Serializable < Reference < Object

Response from creating a session and client secret for the Realtime API.

Constructors

new(value : String = "", expires_at : Int64 = 0, session : RealtimeCreateClientSecretResponseSession = RealtimeSessionCreateResponseGA.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

expires_at

Expiration timestamp for the client secret, in seconds since epoch.

Source
expires_at=(expires_at : Int64)

Expiration timestamp for the client secret, in seconds since epoch.

Source
session

The session configuration for either a realtime or transcription session.

Source
session=(session : RealtimeCreateClientSecretResponseSession)

The session configuration for either a realtime or transcription session.

Source
value

The generated client secret value.

Source
value=(value : String)

The generated client secret value.

Source