Class BetaManagedAgentsDeletedMemory
-
- All Implemented Interfaces:
public final class BetaManagedAgentsDeletedMemoryThe confirmation that Delete a Memory returns.
Deleting a memory doesn't delete its versions. List Memory Versions returns them while they are retained: each version is kept for at least the version retention period after it was written, unless the store itself is deleted.
See the memory guide to learn more about how long versions are kept.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsDeletedMemory.BuilderA builder for BetaManagedAgentsDeletedMemory.
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the deleted memory (a mem_...value).final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("memory_deleted")final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsDeletedMemory.BuildertoBuilder()final BetaManagedAgentsDeletedMemoryvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsDeletedMemory.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsDeletedMemory. final static BetaManagedAgentsDeletedMemoryof(String id)Returns an immutable instance of BetaManagedAgentsDeletedMemory with the required id set to the given value. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("memory_deleted")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsDeletedMemory.Builder toBuilder()
-
validate
final BetaManagedAgentsDeletedMemory 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 BetaManagedAgentsDeletedMemory.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsDeletedMemory.
The following fields are required:
.id()
-
of
final static BetaManagedAgentsDeletedMemory of(String id)
Returns an immutable instance of BetaManagedAgentsDeletedMemory with the required id set to the given value.
-
-
-
-