Package io.camunda.client.protocol.rest
Class AgentInstanceUpdateRequest
java.lang.Object
io.camunda.client.protocol.rest.AgentInstanceUpdateRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AgentInstanceUpdateRequest
extends Object
Request to update the mutable state of an agent instance.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddToolsItem(AgentTool toolsItem) elementInstanceKey(String elementInstanceKey) booleanThe key of the currently-active element instance for this agent instance.Metric increments to apply to the aggregate counters.The new status of the agent instance.getTools()The complete list of tools available to the agent, replacing any previously stored tools.inthashCode()metrics(AgentInstanceMetricsDelta metrics) voidsetElementInstanceKey(String elementInstanceKey) voidsetMetrics(AgentInstanceMetricsDelta metrics) voidvoidstatus(AgentInstanceUpdateStatusEnum status) toString()
-
Field Details
-
JSON_PROPERTY_ELEMENT_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_METRICS
- See Also:
-
JSON_PROPERTY_TOOLS
- See Also:
-
-
Constructor Details
-
AgentInstanceUpdateRequest
public AgentInstanceUpdateRequest()
-
-
Method Details
-
elementInstanceKey
-
getElementInstanceKey
The key of the currently-active element instance for this agent instance. Used for ownership/equality validation against the stored agent instance and, when the supplied key differs from the previous association (re-entry of an ad-hoc sub-process or AI Agent task), appended to elementInstanceKeys with the reverse link updated on the supplied element instance.- Returns:
- elementInstanceKey
-
setElementInstanceKey
-
status
-
getStatus
The new status of the agent instance.- Returns:
- status
-
setStatus
-
metrics
-
getMetrics
Metric increments to apply to the aggregate counters.- Returns:
- metrics
-
setMetrics
-
tools
-
addToolsItem
-
getTools
The complete list of tools available to the agent, replacing any previously stored tools. When provided, the engine replaces the existing tool list with this value.- Returns:
- tools
-
setTools
-
equals
-
hashCode
public int hashCode() -
toString
-