Class: Anthropic::Models::Beta::Sessions::BetaManagedAgentsFileResource
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::Sessions::BetaManagedAgentsFileResource
- Defined in:
- lib/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rb,
sig/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rbs
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ Time
A timestamp in RFC 3339 format.
- #file_id ⇒ String
- #id ⇒ String
- #mount_path ⇒ String
- #type ⇒ Symbol, :file
-
#updated_at ⇒ Time
A timestamp in RFC 3339 format.
Instance Method Summary collapse
-
#initialize(id:, created_at:, file_id:, mount_path:, updated_at:, type: :file) ⇒ BetaManagedAgentsFileResource
constructor
A new instance of BetaManagedAgentsFileResource.
- #to_hash ⇒ { id: String, created_at: Time, file_id: String, mount_path: String, type: :file, updated_at: Time }
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
#initialize(id:, created_at:, file_id:, mount_path:, updated_at:, type: :file) ⇒ BetaManagedAgentsFileResource
Returns a new instance of BetaManagedAgentsFileResource.
|
|
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rb', line 41
|
Instance Attribute Details
#created_at ⇒ Time
A timestamp in RFC 3339 format
18 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rb', line 18 required :created_at, Time |
#file_id ⇒ String
23 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rb', line 23 required :file_id, String |
#id ⇒ String
12 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rb', line 12 required :id, String |
#mount_path ⇒ String
28 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rb', line 28 required :mount_path, String |
#type ⇒ Symbol, :file
33 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rb', line 33 required :type, const: :file |
#updated_at ⇒ Time
A timestamp in RFC 3339 format
39 |
# File 'lib/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rb', line 39 required :updated_at, Time |
Instance Method Details
#to_hash ⇒ { id: String, created_at: Time, file_id: String, mount_path: String, type: :file, updated_at: Time }
37 38 39 40 41 42 43 44 |
# File 'sig/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rbs', line 37
def to_hash: -> {
id: String,
created_at: Time,
file_id: String,
mount_path: String,
type: :file,
updated_at: Time
}
|