java.lang.Object
com.alibaba.dashscope.applications.agentstudio.common.FlattenResultBase
com.alibaba.dashscope.applications.agentstudio.model.MemoryVersion

public class MemoryVersion extends FlattenResultBase
Immutable snapshot produced by every memory mutation; versions are returned newest-first.

operation is created, modified or deleted. After redact(), path, content, contentSha256 and contentSizeBytes are cleared; the audit trail is preserved.

  • Constructor Details

    • MemoryVersion

      public MemoryVersion()
  • Method Details

    • getId

      public String getId()
    • getType

      public String getType()
    • getMemoryStoreId

      public String getMemoryStoreId()
    • getMemoryId

      public String getMemoryId()
    • getOperation

      public String getOperation()
    • getPath

      public String getPath()
    • getContent

      public String getContent()
    • getContentSha256

      public String getContentSha256()
    • getContentSizeBytes

      public Long getContentSizeBytes()
    • getCreatedAt

      public String getCreatedAt()
    • getRedactedAt

      public String getRedactedAt()
    • setId

      public void setId(String id)
    • setType

      public void setType(String type)
    • setMemoryStoreId

      public void setMemoryStoreId(String memoryStoreId)
    • setMemoryId

      public void setMemoryId(String memoryId)
    • setOperation

      public void setOperation(String operation)
    • setPath

      public void setPath(String path)
    • setContent

      public void setContent(String content)
    • setContentSha256

      public void setContentSha256(String contentSha256)
    • setContentSizeBytes

      public void setContentSizeBytes(Long contentSizeBytes)
    • setCreatedAt

      public void setCreatedAt(String createdAt)
    • setRedactedAt

      public void setRedactedAt(String redactedAt)
    • toString

      public String toString()
      Overrides:
      toString in class FlattenResultBase
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class FlattenResultBase
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class FlattenResultBase
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class FlattenResultBase