Class: Anthropic::Models::Beta::BetaManagedAgentsMemoryStore

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_managed_agents_memory_store.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:, created_at:, name:, type:, updated_at:, archived_at: nil, description: nil, metadata: nil) ⇒ Object

Parameters:

  • id (String)
  • created_at (Time)

    A timestamp in RFC 3339 format

  • name (String)
  • type (Symbol, Anthropic::Models::Beta::BetaManagedAgentsMemoryStore::Type)
  • updated_at (Time)

    A timestamp in RFC 3339 format

  • archived_at (Time, nil) (defaults to: nil)

    A timestamp in RFC 3339 format

  • description (String) (defaults to: nil)
  • metadata (Hash{Symbol=>String}) (defaults to: nil)


# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 51

Instance Attribute Details

#archived_atTime?

A timestamp in RFC 3339 format

Returns:

  • (Time, nil)


39
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 39

optional :archived_at, Time, nil?: true

#created_atTime

A timestamp in RFC 3339 format

Returns:

  • (Time)


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

required :created_at, Time

#descriptionString?

Returns:

  • (String, nil)


44
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 44

optional :description, String

#idString

Returns:

  • (String)


11
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 11

required :id, String

#metadataHash{Symbol=>String}?

Returns:

  • (Hash{Symbol=>String}, nil)


49
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 49

optional :metadata, Anthropic::Internal::Type::HashOf[String]

#nameString

Returns:

  • (String)


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

required :name, String

#typeSymbol, Anthropic::Models::Beta::BetaManagedAgentsMemoryStore::Type



27
# File 'lib/anthropic/models/beta/beta_managed_agents_memory_store.rb', line 27

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

#updated_atTime

A timestamp in RFC 3339 format

Returns:

  • (Time)


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

required :updated_at, Time