Class: OpenAI::Models::Realtime::ClientSecretCreateResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Realtime::ClientSecretCreateResponse
- Defined in:
- lib/openai/models/realtime/client_secret_create_response.rb
Overview
Defined Under Namespace
Modules: Session
Instance Attribute Summary collapse
-
#expires_at ⇒ Integer
Expiration timestamp for the client secret, in seconds since epoch.
-
#session ⇒ OpenAI::Models::Realtime::RealtimeSessionCreateResponse, OpenAI::Models::Realtime::RealtimeTranscriptionSessionCreateResponse
The session configuration for either a realtime or transcription session.
-
#value ⇒ String
The generated client secret value.
Instance Method Summary collapse
-
#initialize(expires_at:, session:, value:) ⇒ Object
constructor
Some parameter documentations has been truncated, see ClientSecretCreateResponse for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(expires_at:, session:, value:) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Realtime::ClientSecretCreateResponse for more details.
Response from creating a session and client secret for the Realtime API.
|
|
# File 'lib/openai/models/realtime/client_secret_create_response.rb', line 26
|
Instance Attribute Details
#expires_at ⇒ Integer
Expiration timestamp for the client secret, in seconds since epoch.
12 |
# File 'lib/openai/models/realtime/client_secret_create_response.rb', line 12 required :expires_at, Integer |
#session ⇒ OpenAI::Models::Realtime::RealtimeSessionCreateResponse, OpenAI::Models::Realtime::RealtimeTranscriptionSessionCreateResponse
The session configuration for either a realtime or transcription session.
18 |
# File 'lib/openai/models/realtime/client_secret_create_response.rb', line 18 required :session, union: -> { OpenAI::Models::Realtime::ClientSecretCreateResponse::Session } |
#value ⇒ String
The generated client secret value.
24 |
# File 'lib/openai/models/realtime/client_secret_create_response.rb', line 24 required :value, String |