Module: OpenAI::Models::Responses::FunctionShellTool::Environment

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/responses/function_shell_tool.rb,
sig/openai/models/responses/function_shell_tool.rbs

Overview

See Also:

  • OpenAI::Models::Responses::FunctionShellTool#environment

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, coerce_with_error, dump, #dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.variants ⇒ Array(OpenAI::Models::Responses::ContainerAuto, OpenAI::Models::Responses::LocalEnvironment, OpenAI::Models::Responses::ContainerReference)



# File 'lib/openai/models/responses/function_shell_tool.rb', line 62

Instance Method Details

#self?.variants ⇒ ::Array[OpenAI::Models::Responses::FunctionShellTool::environment]

Returns:

  • (::Array[OpenAI::Models::Responses::FunctionShellTool::environment])


55
# File 'sig/openai/models/responses/function_shell_tool.rbs', line 55

def self?.variants: -> ::Array[OpenAI::Models::Responses::FunctionShellTool::environment]