Class: OpenAI::Models::BetaTool::Beta::BetaTool::CodeInterpreter::Container::CodeInterpreterToolAuto

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

Defined Under Namespace

Modules: MemoryLimit, NetworkPolicy

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



326
# File 'sig/openai/models/beta/beta_tool.rbs', line 326

def initialize: (

Instance Attribute Details

#file_ids::Array[String]? (readonly)

Returns the value of attribute file_ids.

Returns:

  • (::Array[String], nil)


314
315
316
# File 'sig/openai/models/beta/beta_tool.rbs', line 314

def file_ids
  @file_ids
end

#memory_limitOpenAI::Models::Beta::BetaTool::CodeInterpreter::Container::CodeInterpreterToolAuto::memory_limit?

Returns the value of attribute memory_limit.

Returns:

  • (OpenAI::Models::Beta::BetaTool::CodeInterpreter::Container::CodeInterpreterToolAuto::memory_limit, nil)


318
319
320
# File 'sig/openai/models/beta/beta_tool.rbs', line 318

def memory_limit
  @memory_limit
end

#network_policyOpenAI::Models::Beta::BetaTool::CodeInterpreter::Container::CodeInterpreterToolAuto::network_policy? (readonly)

Returns the value of attribute network_policy.

Returns:

  • (OpenAI::Models::Beta::BetaTool::CodeInterpreter::Container::CodeInterpreterToolAuto::network_policy, nil)


320
321
322
# File 'sig/openai/models/beta/beta_tool.rbs', line 320

def network_policy
  @network_policy
end

#type:auto

Returns the value of attribute type.

Returns:

  • (:auto)


312
313
314
# File 'sig/openai/models/beta/beta_tool.rbs', line 312

def type
  @type
end

Instance Method Details

#file_ids=::Array[String] (readonly)

Parameters:

  • (::Array[String])

Returns:

  • (::Array[String])


316
# File 'sig/openai/models/beta/beta_tool.rbs', line 316

def file_ids=: (::Array[String]) -> ::Array[String]

#network_policy=Object (readonly)



322
# File 'sig/openai/models/beta/beta_tool.rbs', line 322

def network_policy=: (

#to_hash{

Returns:

  • ({)


333
# File 'sig/openai/models/beta/beta_tool.rbs', line 333

def to_hash: -> {