Module: OpenAI::Models::Beta::Agents::AutomationEnvironment::OpenAIHosted::File
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/beta/agents/automation_environment.rb,
sig/openai/models/beta/agents/automation_environment.rbs
Overview
Safe metadata for a file configured by an environment template.
Defined Under Namespace
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(file_id:, path:, type: :file_id) ⇒ Object
A project-scoped Files API reference resolved separately for each session.
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump
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_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Class Method Details
.variants ⇒ ::Array[OpenAI::Models::Beta::Agents::AutomationEnvironment::OpenAIHosted::file]
220 |
# File 'sig/openai/models/beta/agents/automation_environment.rbs', line 220
def self?.variants: -> ::Array[OpenAI::Models::Beta::Agents::AutomationEnvironment::OpenAIHosted::file]
|
Instance Method Details
#initialize(file_id:, path:, type: :file_id) ⇒ Object
A project-scoped Files API reference resolved separately for each session.
|
|
# File 'lib/openai/models/beta/agents/automation_environment.rb', line 230
|