Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::MultiAgentCallOutput

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

Defined Under Namespace

Modules: Action Classes: Agent, Output

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



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

def initialize: (

Instance Attribute Details

#actionOpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCallOutput::action

Returns the value of attribute action.

Returns:

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


510
511
512
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 510

def action
  @action
end

#agentOpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Agent?

Returns the value of attribute agent.

Returns:

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


520
521
522
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 520

def agent
  @agent
end

#call_idString

Returns the value of attribute call_id.

Returns:

  • (String)


512
513
514
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 512

def call_id
  @call_id
end

#idString?

Returns the value of attribute id.

Returns:

  • (String, nil)


518
519
520
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 518

def id
  @id
end

#output::Array[OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output]

Returns the value of attribute output.

Returns:

  • (::Array[OpenAI::Beta::BetaResponseInputItem::MultiAgentCallOutput::Output])


514
515
516
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 514

def output
  @output
end

#type:multi_agent_call_output

Returns the value of attribute type.

Returns:

  • (:multi_agent_call_output)


516
517
518
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 516

def type
  @type
end

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {