Class MemoryListParam
java.lang.Object
com.alibaba.dashscope.applications.agentstudio.base.HalfDuplexParamBase
com.alibaba.dashscope.applications.agentstudio.base.FlattenHalfDuplexParamBase
com.alibaba.dashscope.applications.agentstudio.param.MemoryListParam
Query params for
GET /memory_stores/{store_id}/memories.
pathPrefix scopes the listing (server-validated: must start and end with / —
"/notes/" matches /notes/a.md but not /notes_backup/old.md; a bare
"/" lists the whole store). view is basic (metadata only, the default;
limit up to 100) or full (include content; limit is capped at 20 and
higher values are rejected with 400 — CMA silently clamps instead). depth is 0/absent
(flat) or 1 (single-level tree) on the wire; larger values are derived client-side from a flat
listing (no depth is sent). With view=full, the wire still transfers the content
of files the derivation cuts — prefer basic for deep walks.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMemoryListParam.MemoryListParamBuilder<C extends MemoryListParam,B extends MemoryListParam.MemoryListParamBuilder<C, B>> Nested classes/interfaces inherited from class com.alibaba.dashscope.applications.agentstudio.base.FlattenHalfDuplexParamBase
FlattenHalfDuplexParamBase.FlattenHalfDuplexParamBaseBuilder<C extends FlattenHalfDuplexParamBase,B extends FlattenHalfDuplexParamBase.FlattenHalfDuplexParamBaseBuilder<C, B>> Nested classes/interfaces inherited from class com.alibaba.dashscope.applications.agentstudio.base.HalfDuplexParamBase
HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C extends HalfDuplexParamBase,B extends HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C, B>> -
Field Summary
Fields inherited from class com.alibaba.dashscope.applications.agentstudio.base.HalfDuplexParamBase
headers, parameters -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryListParam.MemoryListParamBuilder<?,?> builder()protected booleanbooleangetDepth()com.google.gson.JsonObjectGet the batch request data.getLimit()getPage()getView()inthashCode()voidvoidvoidvoidsetPathPrefix(String pathPrefix) voidtoString()Methods inherited from class com.alibaba.dashscope.applications.agentstudio.base.FlattenHalfDuplexParamBase
addExtraBody, getBinaryData, getHeaders, getInput, getModel, getParameters, getResources, putHeader, validateMethods inherited from class com.alibaba.dashscope.applications.agentstudio.base.HalfDuplexParamBase
getApiKey, getEnableEncrypt, getWorkspace, isSecurityCheck, setApiKey, setEnableEncrypt, setHeaders, setParameters, setSecurityCheck, setWorkspace, shouldSerializeExplicitNulls
-
Constructor Details
-
MemoryListParam
-
-
Method Details
-
getHttpBody
public com.google.gson.JsonObject getHttpBody()Description copied from class:HalfDuplexParamBaseGet the batch request data. Http body include {"model": "model_name", "input": "input data", "parameters": "The request parameters"}- Specified by:
getHttpBodyin classHalfDuplexParamBase- Returns:
- The http request body
-
toQueryString
-
builder
-
getPathPrefix
-
getDepth
-
getView
-
getLimit
-
getPage
-
setPathPrefix
-
setDepth
-
setView
-
setLimit
-
setPage
-
toString
- Overrides:
toStringin classFlattenHalfDuplexParamBase
-
equals
- Overrides:
equalsin classFlattenHalfDuplexParamBase
-
canEqual
- Overrides:
canEqualin classFlattenHalfDuplexParamBase
-
hashCode
public int hashCode()- Overrides:
hashCodein classFlattenHalfDuplexParamBase
-