AS AgentScopeAPI 手册 / API Reference

RuntimeApprovalDecision

public record RuntimeApprovalDecision( String approvalId, long decisionVersion, boolean allow, String denyMessage)
源码Source io/agentscope/extensions/aistio/transport/CollaborationClient.java:149–150

承载运行时 Approval 决策数据的记录类型。位于 io.agentscope.extensions.aistio.transport 包。核心成员包括 approvalId、decisionVersion、allow、denyMessage。

A record in io.agentscope.extensions.aistio.transport that carries data used when components deploys, schedules and serves agents. Declared in io.agentscope.extensions.aistio.transport.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
approvalIdString
执行 `approvalId` 方法。
Performs the approval id operation.
decisionVersionlong
执行决策版本相关操作。
Performs the decision version operation.
allowboolean
执行 `allow` 方法。
Performs the allow operation.
denyMessageString
拒绝消息。
Performs the deny message operation.

记录组件详情Record Component Detail

approvalId

String approvalId

执行 approvalId 方法。

Performs the approval id operation.

源码Source io/agentscope/extensions/aistio/transport/CollaborationClient.java:149–150

decisionVersion

long decisionVersion

执行决策版本相关操作。

Performs the decision version operation.

源码Source io/agentscope/extensions/aistio/transport/CollaborationClient.java:149–150

allow

boolean allow

执行 allow 方法。

Performs the allow operation.

源码Source io/agentscope/extensions/aistio/transport/CollaborationClient.java:149–150

denyMessage

String denyMessage

拒绝消息。

Performs the deny message operation.

源码Source io/agentscope/extensions/aistio/transport/CollaborationClient.java:149–150
基于官方固定版本源码静态生成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.