Class: OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::LocalShellCall::Action

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

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



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

def initialize: (

Instance Attribute Details

#command::Array[String]

Returns the value of attribute command.

Returns:

  • (::Array[String])


700
701
702
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 700

def command
  @command
end

#env::Hash[Symbol, String]

Returns the value of attribute env.

Returns:

  • (::Hash[Symbol, String])


702
703
704
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 702

def env
  @env
end

#timeout_msInteger?

Returns the value of attribute timeout_ms.

Returns:

  • (Integer, nil)


706
707
708
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 706

def timeout_ms
  @timeout_ms
end

#type:exec

Returns the value of attribute type.

Returns:

  • (:exec)


704
705
706
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 704

def type
  @type
end

#userString?

Returns the value of attribute user.

Returns:

  • (String, nil)


708
709
710
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 708

def user
  @user
end

#working_directoryString?

Returns the value of attribute working_directory.

Returns:

  • (String, nil)


710
711
712
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 710

def working_directory
  @working_directory
end

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {