Class: OpenAI::Models::Realtime::CallAcceptParams

Inherits:
RealtimeSessionCreateRequest show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/openai/models/realtime/call_accept_params.rb,
sig/openai/models/realtime/call_accept_params.rbs

Overview

See Also:

  • OpenAI::Resources::Realtime::Calls#accept

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Attributes inherited from RealtimeSessionCreateRequest

#audio, #include, #instructions, #max_output_tokens, #model, #output_modalities, #parallel_tool_calls, #prompt, #reasoning, #tool_choice, #tools, #tracing, #truncation, #type

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from RealtimeSessionCreateRequest

values, variants

Methods inherited from Internal::Type::BaseModel

==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, #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(call_id:, audio: nil, include: nil, instructions: nil, max_output_tokens: nil, model: nil, output_modalities: nil, parallel_tool_calls: nil, prompt: nil, reasoning: nil, tool_choice: nil, tools: nil, tracing: nil, truncation: nil, type: :realtime, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see OpenAI::Models::Realtime::CallAcceptParams for more details.

Parameters:



# File 'lib/openai/models/realtime/call_accept_params.rb', line 16

Instance Attribute Details

#call_idString

Parameters:

  • _ (String)

Returns:

  • (String)


14
# File 'lib/openai/models/realtime/call_accept_params.rb', line 14

required :call_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


51
# File 'sig/openai/models/realtime/call_accept_params.rbs', line 51

def to_hash: -> {