Interface BetaMemoryTool20250818Command.Visitor
-
- All Implemented Interfaces:
public interface BetaMemoryTool20250818Command.Visitor<T extends Object>An interface that defines how to map each variant of BetaMemoryTool20250818Command to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitView(BetaMemoryTool20250818ViewCommand view)abstract TvisitCreate(BetaMemoryTool20250818CreateCommand create)abstract TvisitStrReplace(BetaMemoryTool20250818StrReplaceCommand strReplace)abstract TvisitInsert(BetaMemoryTool20250818InsertCommand insert)abstract TvisitDelete(BetaMemoryTool20250818DeleteCommand delete)abstract TvisitRename(BetaMemoryTool20250818RenameCommand rename)Tunknown(JsonValue json)Maps an unknown variant of BetaMemoryTool20250818Command to a value of type T. -
-
Method Detail
-
visitView
abstract T visitView(BetaMemoryTool20250818ViewCommand view)
-
visitCreate
abstract T visitCreate(BetaMemoryTool20250818CreateCommand create)
-
visitStrReplace
abstract T visitStrReplace(BetaMemoryTool20250818StrReplaceCommand strReplace)
-
visitInsert
abstract T visitInsert(BetaMemoryTool20250818InsertCommand insert)
-
visitDelete
abstract T visitDelete(BetaMemoryTool20250818DeleteCommand delete)
-
visitRename
abstract T visitRename(BetaMemoryTool20250818RenameCommand rename)
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaMemoryTool20250818Command to a value of type T.
An instance of BetaMemoryTool20250818Command can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-