Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::ShellCallOutput

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

Defined Under Namespace

Modules: Caller, Status 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



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

def initialize: (

Instance Attribute Details

#agentOpenAI::Beta::BetaResponseInputItem::ShellCallOutput::Agent?

Returns the value of attribute agent.

Returns:

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


1235
1236
1237
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1235

def agent
  @agent
end

#call_idString

Returns the value of attribute call_id.

Returns:

  • (String)


1227
1228
1229
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1227

def call_id
  @call_id
end

#caller_OpenAI::Models::Beta::BetaResponseInputItem::ShellCallOutput::caller_?

Returns the value of attribute caller_.

Returns:

  • (OpenAI::Models::Beta::BetaResponseInputItem::ShellCallOutput::caller_, nil)


1237
1238
1239
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1237

def caller_
  @caller_
end

#idString?

Returns the value of attribute id.

Returns:

  • (String, nil)


1233
1234
1235
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1233

def id
  @id
end

#max_output_lengthInteger?

Returns the value of attribute max_output_length.

Returns:

  • (Integer, nil)


1239
1240
1241
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1239

def max_output_length
  @max_output_length
end

#output::Array[OpenAI::Beta::BetaResponseFunctionShellCallOutputContent]

Returns the value of attribute output.

Returns:

  • (::Array[OpenAI::Beta::BetaResponseFunctionShellCallOutputContent])


1229
1230
1231
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1229

def output
  @output
end

#statusOpenAI::Models::Beta::BetaResponseInputItem::ShellCallOutput::status?

Returns the value of attribute status.

Returns:

  • (OpenAI::Models::Beta::BetaResponseInputItem::ShellCallOutput::status, nil)


1241
1242
1243
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1241

def status
  @status
end

#type:shell_call_output

Returns the value of attribute type.

Returns:

  • (:shell_call_output)


1231
1232
1233
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1231

def type
  @type
end

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {