Class: OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::MultiAgentCall

Inherits:
Internal::Type::BaseModel show all
Defined in:
sig/openai/models/beta/beta_response_output_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



262
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 262

def initialize: (

Instance Attribute Details

#actionOpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCall::action

Returns the value of attribute action.

Returns:

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


248
249
250
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 248

def action
  @action
end

#agentOpenAI::Beta::BetaResponseOutputItem::MultiAgentCall::Agent? (readonly)

Returns the value of attribute agent.

Returns:

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


256
257
258
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 256

def agent
  @agent
end

#argumentsString

Returns the value of attribute arguments.

Returns:

  • (String)


250
251
252
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 250

def arguments
  @arguments
end

#call_idString

Returns the value of attribute call_id.

Returns:

  • (String)


252
253
254
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 252

def call_id
  @call_id
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


246
247
248
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 246

def id
  @id
end

#type:multi_agent_call

Returns the value of attribute type.

Returns:

  • (:multi_agent_call)


254
255
256
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 254

def type
  @type
end

Instance Method Details

#agent=Object (readonly)



258
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 258

def agent=: (

#to_hash{

Returns:

  • ({)


271
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 271

def to_hash: -> {