Class Session.SessionResource
java.lang.Object
com.alibaba.dashscope.applications.agentstudio.common.FlattenResultBase
com.alibaba.dashscope.applications.agentstudio.model.Session.SessionResource
- Enclosing class:
- Session
A resource mounted into a session. Fields depend on
type: file carries
fileId/mountPath; memory_store carries memoryStoreId/
access/instructions/name/description and — when provider is
agentstudio_memory — entityId/projectIds/profileSchema (Bailian
memory mounts carry no mount path); oss carries region/bucket/
ossPath/mountPath/access. provider values are not validated so
historical responses stay readable. Memory and OSS mounts are create-only.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()getName()getType()inthashCode()voidvoidvoidsetCreatedAt(String createdAt) voidsetDescription(String description) voidsetEntityId(String entityId) voidvoidvoidsetInstructions(String instructions) voidsetMemoryStoreId(String memoryStoreId) voidsetMountPath(String mountPath) voidvoidsetOssPath(String ossPath) voidsetProfileSchema(String profileSchema) voidsetProjectIds(List<String> projectIds) voidsetProvider(String provider) voidvoidvoidsetUpdatedAt(String updatedAt) toString()Methods inherited from class com.alibaba.dashscope.applications.agentstudio.common.FlattenResultBase
fromDashScopeResult, getRequestId, setRequestId
-
Constructor Details
-
SessionResource
public SessionResource()
-
-
Method Details
-
getId
-
getType
-
getFileId
-
getMemoryStoreId
-
getProvider
-
getEntityId
-
getProjectIds
-
getProfileSchema
-
getAccess
-
getInstructions
-
getName
-
getDescription
-
getMountPath
-
getRegion
-
getBucket
-
getOssPath
-
getCreatedAt
-
getUpdatedAt
-
setId
-
setType
-
setFileId
-
setMemoryStoreId
-
setProvider
-
setEntityId
-
setProjectIds
-
setProfileSchema
-
setAccess
-
setInstructions
-
setName
-
setDescription
-
setMountPath
-
setRegion
-
setBucket
-
setOssPath
-
setCreatedAt
-
setUpdatedAt
-
toString
- Overrides:
toStringin classFlattenResultBase
-
equals
- Overrides:
equalsin classFlattenResultBase
-
canEqual
- Overrides:
canEqualin classFlattenResultBase
-
hashCode
public int hashCode()- Overrides:
hashCodein classFlattenResultBase
-