Class: OpenAI::Models::Beta::Agents::Environments::EnvironmentFile
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Agents::Environments::EnvironmentFile
- Defined in:
- lib/openai/models/beta/agents/environments/environment_file.rb,
sig/openai/models/beta/agents/environments/environment_file.rbs
Overview
Instance Attribute Summary collapse
-
#environment_id ⇒ String
The ID of the environment containing this file.
-
#object ⇒ Symbol, :"agent.environment.file"
The object type.
-
#path ⇒ String
The absolute file path inside the environment's workspace.
-
#size_bytes ⇒ Integer
The file size in bytes.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, 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
#initialize ⇒ Object
25 |
# File 'sig/openai/models/beta/agents/environments/environment_file.rbs', line 25
def initialize: (
|
Instance Attribute Details
#environment_id ⇒ String
The ID of the environment containing this file.
14 |
# File 'lib/openai/models/beta/agents/environments/environment_file.rb', line 14 required :environment_id, String |
#object ⇒ Symbol, :"agent.environment.file"
The object type. Always agent.environment.file.
20 |
# File 'lib/openai/models/beta/agents/environments/environment_file.rb', line 20 required :object, const: :"agent.environment.file" |
#path ⇒ String
The absolute file path inside the environment's workspace.
26 |
# File 'lib/openai/models/beta/agents/environments/environment_file.rb', line 26 required :path, String |
#size_bytes ⇒ Integer
The file size in bytes.
32 |
# File 'lib/openai/models/beta/agents/environments/environment_file.rb', line 32 required :size_bytes, Integer |
Instance Method Details
#to_hash ⇒ {
32 |
# File 'sig/openai/models/beta/agents/environments/environment_file.rbs', line 32
def to_hash: -> {
|