AS AgentScopeAPI 手册 / API Reference

ResourceShareDto

@JsonInclude(JsonInclude.Include.NON_NULL) public record ResourceShareDto( String shareId, String resourceType, String resourceId, String granteeType, String granteeId, String tier, long createdAt, String createdBy)
源码Source io/agentscope/builder/web/managed/ResourceShareDto.java:21–30

承载资源 Share Dto数据的记录类型。位于 io.agentscope.builder.web.managed 包。核心成员包括 shareId、resourceType、resourceId、granteeType、granteeId、tier。

API view of a io.agentscope.builder.web.persistence.jpa.ResourceShareEntity grant.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
shareIdString
执行 `shareId` 方法。
Performs the share id operation.
resourceTypeString
执行资源类型相关操作。
Performs the resource type operation.
resourceIdString
执行资源标识相关操作。
Performs the resource id operation.
granteeTypeString
执行 `granteeType` 方法。
Performs the grantee type operation.
granteeIdString
执行 `granteeId` 方法。
Performs the grantee id operation.
tierString
执行 `tier` 方法。
Performs the tier operation.
createdAtlong
执行已创建 At相关操作。
Performs the created at operation.
createdByString
执行已创建通过相关操作。
Performs the created by operation.

记录组件详情Record Component Detail

shareId

String shareId

执行 shareId 方法。

Performs the share id operation.

源码Source io/agentscope/builder/web/managed/ResourceShareDto.java:21–30

resourceType

String resourceType

执行资源类型相关操作。

Performs the resource type operation.

源码Source io/agentscope/builder/web/managed/ResourceShareDto.java:21–30

resourceId

String resourceId

执行资源标识相关操作。

Performs the resource id operation.

源码Source io/agentscope/builder/web/managed/ResourceShareDto.java:21–30

granteeType

String granteeType

执行 granteeType 方法。

Performs the grantee type operation.

源码Source io/agentscope/builder/web/managed/ResourceShareDto.java:21–30

granteeId

String granteeId

执行 granteeId 方法。

Performs the grantee id operation.

源码Source io/agentscope/builder/web/managed/ResourceShareDto.java:21–30

tier

String tier

执行 tier 方法。

Performs the tier operation.

源码Source io/agentscope/builder/web/managed/ResourceShareDto.java:21–30

createdAt

long createdAt

执行已创建 At相关操作。

Performs the created at operation.

源码Source io/agentscope/builder/web/managed/ResourceShareDto.java:21–30

createdBy

String createdBy

执行已创建通过相关操作。

Performs the created by operation.

源码Source io/agentscope/builder/web/managed/ResourceShareDto.java:21–30
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.