Class BetaMemoryTool20250818RenameCommand
-
- All Implemented Interfaces:
public final class BetaMemoryTool20250818RenameCommand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaMemoryTool20250818RenameCommand.BuilderA builder for BetaMemoryTool20250818RenameCommand.
-
Method Summary
Modifier and Type Method Description final JsonValue_command()Command type identifierExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("rename")final StringnewPath()New path for the file or directory final StringoldPath()Current path of the file or directory final JsonField<String>_newPath()Returns the raw JSON value of newPath. final JsonField<String>_oldPath()Returns the raw JSON value of oldPath. final Map<String, JsonValue>_additionalProperties()final BetaMemoryTool20250818RenameCommand.BuildertoBuilder()final BetaMemoryTool20250818RenameCommandvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaMemoryTool20250818RenameCommand.Builderbuilder()Returns a mutable builder for constructing an instance of BetaMemoryTool20250818RenameCommand. -
-
Method Detail
-
_command
final JsonValue _command()
Command type identifier
Expected to always return the following:
JsonValue.from("rename")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_newPath
final JsonField<String> _newPath()
Returns the raw JSON value of newPath.
Unlike newPath, this method doesn't throw if the JSON field has an unexpected type.
-
_oldPath
final JsonField<String> _oldPath()
Returns the raw JSON value of oldPath.
Unlike oldPath, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaMemoryTool20250818RenameCommand.Builder toBuilder()
-
validate
final BetaMemoryTool20250818RenameCommand validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaMemoryTool20250818RenameCommand.Builder builder()
Returns a mutable builder for constructing an instance of BetaMemoryTool20250818RenameCommand.
The following fields are required:
.newPath() .oldPath()
-
-
-
-