Class: OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::MultiAgentCall

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



263
# File 'sig/openai/models/beta/beta_response_item.rbs', line 263

def initialize: (

Instance Attribute Details

#actionOpenAI::Models::Beta::BetaResponseItem::MultiAgentCall::action

Returns the value of attribute action.

Returns:

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


249
250
251
# File 'sig/openai/models/beta/beta_response_item.rbs', line 249

def action
  @action
end

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

Returns the value of attribute agent.

Returns:

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


257
258
259
# File 'sig/openai/models/beta/beta_response_item.rbs', line 257

def agent
  @agent
end

#argumentsString

Returns the value of attribute arguments.

Returns:

  • (String)


251
252
253
# File 'sig/openai/models/beta/beta_response_item.rbs', line 251

def arguments
  @arguments
end

#call_idString

Returns the value of attribute call_id.

Returns:

  • (String)


253
254
255
# File 'sig/openai/models/beta/beta_response_item.rbs', line 253

def call_id
  @call_id
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


247
248
249
# File 'sig/openai/models/beta/beta_response_item.rbs', line 247

def id
  @id
end

#type:multi_agent_call

Returns the value of attribute type.

Returns:

  • (:multi_agent_call)


255
256
257
# File 'sig/openai/models/beta/beta_response_item.rbs', line 255

def type
  @type
end

Instance Method Details

#agent=Object (readonly)



259
# File 'sig/openai/models/beta/beta_response_item.rbs', line 259

def agent=: (

#to_hash{

Returns:

  • ({)


272
# File 'sig/openai/models/beta/beta_response_item.rbs', line 272

def to_hash: -> {