Class: Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemory

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb

Overview

Defined Under Namespace

Modules: Type

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

#initialize(id:, content_sha256:, content_size_bytes:, created_at:, memory_store_id:, memory_version_id:, path:, type:, updated_at:, content: nil) ⇒ Object

Parameters:

  • id (String)
  • content_sha256 (String)
  • content_size_bytes (Integer)
  • created_at (Time)

    A timestamp in RFC 3339 format

  • memory_store_id (String)
  • memory_version_id (String)
  • path (String)
  • type (Symbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemory::Type)
  • updated_at (Time)

    A timestamp in RFC 3339 format

  • content (String, nil) (defaults to: nil)


# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb', line 61

Instance Attribute Details

#contentString?

Returns:

  • (String, nil)


59
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb', line 59

optional :content, String, nil?: true

#content_sha256String

Returns:

  • (String)


17
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb', line 17

required :content_sha256, String

#content_size_bytesInteger

Returns:

  • (Integer)


22
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb', line 22

required :content_size_bytes, Integer

#created_atTime

A timestamp in RFC 3339 format

Returns:

  • (Time)


28
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb', line 28

required :created_at, Time

#idString

Returns:

  • (String)


12
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb', line 12

required :id, String

#memory_store_idString

Returns:

  • (String)


33
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb', line 33

required :memory_store_id, String

#memory_version_idString

Returns:

  • (String)


38
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb', line 38

required :memory_version_id, String

#pathString

Returns:

  • (String)


43
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb', line 43

required :path, String

#typeSymbol, Anthropic::Models::Beta::MemoryStores::BetaManagedAgentsMemory::Type



48
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb', line 48

required :type, enum: -> { Anthropic::Beta::MemoryStores::BetaManagedAgentsMemory::Type }

#updated_atTime

A timestamp in RFC 3339 format

Returns:

  • (Time)


54
# File 'lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb', line 54

required :updated_at, Time