Class Session.SessionResource

java.lang.Object
com.alibaba.dashscope.applications.agentstudio.common.FlattenResultBase
com.alibaba.dashscope.applications.agentstudio.model.Session.SessionResource
Enclosing class:
Session

public static class Session.SessionResource extends FlattenResultBase
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 Details

    • SessionResource

      public SessionResource()
  • Method Details

    • getId

      public String getId()
    • getType

      public String getType()
    • getFileId

      public String getFileId()
    • getMemoryStoreId

      public String getMemoryStoreId()
    • getProvider

      public String getProvider()
    • getEntityId

      public String getEntityId()
    • getProjectIds

      public List<String> getProjectIds()
    • getProfileSchema

      public String getProfileSchema()
    • getAccess

      public String getAccess()
    • getInstructions

      public String getInstructions()
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • getMountPath

      public String getMountPath()
    • getRegion

      public String getRegion()
    • getBucket

      public String getBucket()
    • getOssPath

      public String getOssPath()
    • getCreatedAt

      public String getCreatedAt()
    • getUpdatedAt

      public String getUpdatedAt()
    • setId

      public void setId(String id)
    • setType

      public void setType(String type)
    • setFileId

      public void setFileId(String fileId)
    • setMemoryStoreId

      public void setMemoryStoreId(String memoryStoreId)
    • setProvider

      public void setProvider(String provider)
    • setEntityId

      public void setEntityId(String entityId)
    • setProjectIds

      public void setProjectIds(List<String> projectIds)
    • setProfileSchema

      public void setProfileSchema(String profileSchema)
    • setAccess

      public void setAccess(String access)
    • setInstructions

      public void setInstructions(String instructions)
    • setName

      public void setName(String name)
    • setDescription

      public void setDescription(String description)
    • setMountPath

      public void setMountPath(String mountPath)
    • setRegion

      public void setRegion(String region)
    • setBucket

      public void setBucket(String bucket)
    • setOssPath

      public void setOssPath(String ossPath)
    • setCreatedAt

      public void setCreatedAt(String createdAt)
    • setUpdatedAt

      public void setUpdatedAt(String updatedAt)
    • 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