Class: OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::LocalShellCallOutput

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

Defined Under Namespace

Modules: 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



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

def initialize: (

Instance Attribute Details

#agentOpenAI::Beta::BetaResponseOutputItem::LocalShellCallOutput::Agent?

Returns the value of attribute agent.

Returns:

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


770
771
772
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 770

def agent
  @agent
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


764
765
766
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 764

def id
  @id
end

#outputString

Returns the value of attribute output.

Returns:

  • (String)


766
767
768
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 766

def output
  @output
end

#statusOpenAI::Models::Beta::BetaResponseOutputItem::LocalShellCallOutput::status?

Returns the value of attribute status.

Returns:

  • (OpenAI::Models::Beta::BetaResponseOutputItem::LocalShellCallOutput::status, nil)


772
773
774
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 772

def status
  @status
end

#type:local_shell_call_output

Returns the value of attribute type.

Returns:

  • (:local_shell_call_output)


768
769
770
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 768

def type
  @type
end

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {