ss
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package com.example.agentclient.models
|
||||
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
/**
|
||||
* 执行状态响应模型
|
||||
*/
|
||||
data class ExecutionStatusResponse(
|
||||
val status: String,
|
||||
val progress: Int = 0,
|
||||
|
||||
@SerializedName("current_node")
|
||||
val currentNode: CurrentNode?,
|
||||
|
||||
val error: String? = null
|
||||
)
|
||||
|
||||
/**
|
||||
* 当前执行节点
|
||||
*/
|
||||
data class CurrentNode(
|
||||
@SerializedName("node_id")
|
||||
val nodeId: String,
|
||||
|
||||
@SerializedName("node_name")
|
||||
val nodeName: String?,
|
||||
|
||||
@SerializedName("node_type")
|
||||
val nodeType: String?
|
||||
)
|
||||
Reference in New Issue
Block a user