Class BetaMemoryTool20250818CreateCommand
-
- All Implemented Interfaces:
public final class BetaMemoryTool20250818CreateCommand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaMemoryTool20250818CreateCommand.BuilderA builder for BetaMemoryTool20250818CreateCommand.
-
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("create")final StringfileText()Content to write to the file final Stringpath()Path where the file should be created final JsonField<String>_fileText()Returns the raw JSON value of fileText. final JsonField<String>_path()Returns the raw JSON value of path. final Map<String, JsonValue>_additionalProperties()final BetaMemoryTool20250818CreateCommand.BuildertoBuilder()final BetaMemoryTool20250818CreateCommandvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaMemoryTool20250818CreateCommand.Builderbuilder()Returns a mutable builder for constructing an instance of BetaMemoryTool20250818CreateCommand. -
-
Method Detail
-
_command
final JsonValue _command()
Command type identifier
Expected to always return the following:
JsonValue.from("create")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_fileText
final JsonField<String> _fileText()
Returns the raw JSON value of fileText.
Unlike fileText, this method doesn't throw if the JSON field has an unexpected type.
-
_path
final JsonField<String> _path()
Returns the raw JSON value of path.
Unlike path, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaMemoryTool20250818CreateCommand.Builder toBuilder()
-
validate
final BetaMemoryTool20250818CreateCommand 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 BetaMemoryTool20250818CreateCommand.Builder builder()
Returns a mutable builder for constructing an instance of BetaMemoryTool20250818CreateCommand.
The following fields are required:
.fileText() .path()
-
-
-
-