Class: OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::LocalShellCallOutput

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



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

def initialize: (

Instance Attribute Details

#agentOpenAI::Beta::BetaResponseItem::LocalShellCallOutput::Agent?

Returns the value of attribute agent.

Returns:

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


771
772
773
# File 'sig/openai/models/beta/beta_response_item.rbs', line 771

def agent
  @agent
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


765
766
767
# File 'sig/openai/models/beta/beta_response_item.rbs', line 765

def id
  @id
end

#outputString

Returns the value of attribute output.

Returns:

  • (String)


767
768
769
# File 'sig/openai/models/beta/beta_response_item.rbs', line 767

def output
  @output
end

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

Returns the value of attribute status.

Returns:

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


773
774
775
# File 'sig/openai/models/beta/beta_response_item.rbs', line 773

def status
  @status
end

#type:local_shell_call_output

Returns the value of attribute type.

Returns:

  • (:local_shell_call_output)


769
770
771
# File 'sig/openai/models/beta/beta_response_item.rbs', line 769

def type
  @type
end

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {