Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::MultiAgentCall

Inherits:
Internal::Type::BaseModel show all
Defined in:
sig/openai/models/beta/beta_response_input_item.rbs

Defined Under Namespace

Modules: Action Classes: Agent

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeObject



449
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 449

def initialize: (

Instance Attribute Details

#actionOpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall::action

Returns the value of attribute action.

Returns:

  • (OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall::action)


437
438
439
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 437

def action
  @action
end

#agentOpenAI::Beta::BetaResponseInputItem::MultiAgentCall::Agent?

Returns the value of attribute agent.

Returns:

  • (OpenAI::Beta::BetaResponseInputItem::MultiAgentCall::Agent, nil)


447
448
449
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 447

def agent
  @agent
end

#argumentsString

Returns the value of attribute arguments.

Returns:

  • (String)


439
440
441
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 439

def arguments
  @arguments
end

#call_idString

Returns the value of attribute call_id.

Returns:

  • (String)


441
442
443
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 441

def call_id
  @call_id
end

#idString?

Returns the value of attribute id.

Returns:

  • (String, nil)


445
446
447
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 445

def id
  @id
end

#type:multi_agent_call

Returns the value of attribute type.

Returns:

  • (:multi_agent_call)


443
444
445
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 443

def type
  @type
end

Instance Method Details

#to_hash{

Returns:

  • ({)


458
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 458

def to_hash: -> {