Class BailianMemoryNode
java.lang.Object
io.agentscope.core.memory.bailian.BailianMemoryNode
Represents a memory node in the response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the content.Gets the creation timestamp.getEvent()Gets the event type.Gets the memory node ID.Gets the old content.Gets the update timestamp.voidsetContent(String content) Sets the content.voidsetCreatedAt(Long createdAt) Sets the creation timestamp.voidSets the event type.voidsetMemoryNodeId(String memoryNodeId) Sets the memory node ID.voidsetOldContent(String oldContent) Sets the old content.voidsetUpdatedAt(Long updatedAt) Sets the update timestamp.
-
Constructor Details
-
BailianMemoryNode
public BailianMemoryNode()Default constructor for Jackson.
-
-
Method Details
-
getMemoryNodeId
Gets the memory node ID.- Returns:
- the memory node ID
-
setMemoryNodeId
Sets the memory node ID.- Parameters:
memoryNodeId- the memory node ID
-
getContent
Gets the content.- Returns:
- the content
-
setContent
Sets the content.- Parameters:
content- the content
-
getEvent
Gets the event type.- Returns:
- the event type
-
setEvent
Sets the event type.- Parameters:
event- the event type
-
getOldContent
Gets the old content.- Returns:
- the old content
-
setOldContent
Sets the old content.- Parameters:
oldContent- the old content
-
getCreatedAt
Gets the creation timestamp.- Returns:
- the creation timestamp
-
setCreatedAt
Sets the creation timestamp.- Parameters:
createdAt- the creation timestamp
-
getUpdatedAt
Gets the update timestamp.- Returns:
- the update timestamp
-
setUpdatedAt
Sets the update timestamp.- Parameters:
updatedAt- the update timestamp
-