AS AgentScopeAPI 手册 / API Reference

EnvironmentDto

@JsonInclude(JsonInclude.Include.NON_NULL) public record EnvironmentDto( String id, String name, String type, Map<String, Object> config, String ownerId, Long archivedAt, long createdAt, long updatedAt, String environmentKey)
源码Source io/agentscope/builder/web/managed/EnvironmentDto.java:29–39

承载环境 Dto数据的记录类型。位于 io.agentscope.builder.web.managed 包。核心成员包括 id、name、type、config、ownerId、archivedAt。

API representation of an execution environment template.

type is one of EnvironmentTypes#TYPE_LOCAL (host FS), EnvironmentTypes#TYPE_SANDBOX (cloud-equivalent Docker hands), EnvironmentTypes#TYPE_REMOTE (distributed KV FS, no shell), or EnvironmentTypes#TYPE_SELF_HOSTED (worker-owned hands via externalSandbox).

记录组件摘要Record Component Summary

组件Component类型Type说明Description
idString
执行标识相关操作。
Performs the id operation.
nameString
执行名称相关操作。
Performs the name operation.
typeString
执行类型相关操作。
Performs the type operation.
configMap<String, Object>
执行配置相关操作。
Performs the config operation.
ownerIdString
执行所有者标识相关操作。
Performs the owner id operation.
archivedAtLong
执行 `archivedAt` 方法。
Performs the archived at operation.
createdAtlong
执行已创建 At相关操作。
Performs the created at operation.
updatedAtlong
执行已更新 At相关操作。
Performs the updated at operation.
environmentKeyString
执行环境键相关操作。
Performs the environment key operation.

记录组件详情Record Component Detail

id

String id

执行标识相关操作。

Performs the id operation.

源码Source io/agentscope/builder/web/managed/EnvironmentDto.java:29–39

name

String name

执行名称相关操作。

Performs the name operation.

源码Source io/agentscope/builder/web/managed/EnvironmentDto.java:29–39

type

String type

执行类型相关操作。

Performs the type operation.

源码Source io/agentscope/builder/web/managed/EnvironmentDto.java:29–39

config

Map<String, Object> config

执行配置相关操作。

Performs the config operation.

源码Source io/agentscope/builder/web/managed/EnvironmentDto.java:29–39

ownerId

String ownerId

执行所有者标识相关操作。

Performs the owner id operation.

源码Source io/agentscope/builder/web/managed/EnvironmentDto.java:29–39

archivedAt

Long archivedAt

执行 archivedAt 方法。

Performs the archived at operation.

源码Source io/agentscope/builder/web/managed/EnvironmentDto.java:29–39

createdAt

long createdAt

执行已创建 At相关操作。

Performs the created at operation.

源码Source io/agentscope/builder/web/managed/EnvironmentDto.java:29–39

updatedAt

long updatedAt

执行已更新 At相关操作。

Performs the updated at operation.

源码Source io/agentscope/builder/web/managed/EnvironmentDto.java:29–39

environmentKey

String environmentKey

执行环境键相关操作。

Performs the environment key operation.

源码Source io/agentscope/builder/web/managed/EnvironmentDto.java:29–39
基于官方固定版本源码静态生成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.