Class: Anthropic::Models::Beta::BetaMemoryTool20250818DeleteCommand
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaMemoryTool20250818DeleteCommand
- Defined in:
- lib/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rb,
sig/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rbs
Instance Attribute Summary collapse
-
#command ⇒ Symbol, :delete
Command type identifier.
-
#path ⇒ String
Path to the file or directory to delete.
Instance Method Summary collapse
-
#initialize ⇒ BetaMemoryTool20250818DeleteCommand
constructor
A new instance of BetaMemoryTool20250818DeleteCommand.
- #to_hash ⇒ { command: :delete, path: String }
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 ⇒ BetaMemoryTool20250818DeleteCommand
Returns a new instance of BetaMemoryTool20250818DeleteCommand.
14 |
# File 'sig/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rbs', line 14
def initialize: (path: String, ?command: :delete) -> void
|
Instance Attribute Details
#command ⇒ Symbol, :delete
Command type identifier
11 |
# File 'lib/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rb', line 11 required :command, const: :delete |
#path ⇒ String
Path to the file or directory to delete
17 |
# File 'lib/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rb', line 17 required :path, String |
Instance Method Details
#to_hash ⇒ { command: :delete, path: String }
16 |
# File 'sig/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rbs', line 16
def to_hash: -> { command: :delete, path: String }
|