Package io.camunda.client.protocol.rest
Class AgentInstanceResult
java.lang.Object
io.camunda.client.protocol.rest.AgentInstanceResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AgentInstanceResult
extends Object
AgentInstanceResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddElementInstanceKeysItem(String elementInstanceKeysItem) addToolsItem(AgentTool toolsItem) agentInstanceKey(String agentInstanceKey) completionDate(String completionDate) creationDate(String creationDate) definition(AgentInstanceDefinition definition) elementInstanceKeys(List<String> elementInstanceKeys) booleanThe unique key for this agent instance.The date when this agent instance completed.The date when this agent instance was created.The static definition of the agent, including model, provider, and system prompt.The BPMN element ID of the ad-hoc sub-process or AI agent task that owns this agent instance.The keys of all element instances associated with this agent instance.The date when this agent instance was last updated.The configured limits for this agent instance, set once at creation.Aggregated metrics across all loopIterations of this agent instance.The BPMN process ID of the process definition associated with this agent instance.The key of the process definition associated with this agent instance.The version of the process definition associated with this agent instance.The version tag of the process definition associated with this agent instance.The key of the process instance that owns this agent instance.The key of the root process instance.Get statusThe tenant ID of this agent instance.getTools()The tools available to the agent.inthashCode()lastUpdatedDate(String lastUpdatedDate) limits(AgentInstanceLimits limits) metrics(AgentInstanceMetrics metrics) processDefinitionId(String processDefinitionId) processDefinitionKey(String processDefinitionKey) processDefinitionVersion(Integer processDefinitionVersion) processDefinitionVersionTag(String processDefinitionVersionTag) processInstanceKey(String processInstanceKey) rootProcessInstanceKey(String rootProcessInstanceKey) voidsetAgentInstanceKey(String agentInstanceKey) voidsetCompletionDate(String completionDate) voidsetCreationDate(String creationDate) voidsetDefinition(AgentInstanceDefinition definition) voidsetElementId(String elementId) voidsetElementInstanceKeys(List<String> elementInstanceKeys) voidsetLastUpdatedDate(String lastUpdatedDate) voidsetLimits(AgentInstanceLimits limits) voidsetMetrics(AgentInstanceMetrics metrics) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessDefinitionVersion(Integer processDefinitionVersion) voidsetProcessDefinitionVersionTag(String processDefinitionVersionTag) voidsetProcessInstanceKey(String processInstanceKey) voidsetRootProcessInstanceKey(String rootProcessInstanceKey) voidsetStatus(AgentInstanceStatusEnum status) voidsetTenantId(String tenantId) voidstatus(AgentInstanceStatusEnum status) toString()
-
Field Details
-
JSON_PROPERTY_AGENT_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_DEFINITION
- See Also:
-
JSON_PROPERTY_METRICS
- See Also:
-
JSON_PROPERTY_LIMITS
- See Also:
-
JSON_PROPERTY_TOOLS
- See Also:
-
JSON_PROPERTY_ELEMENT_ID
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_ROOT_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_KEY
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_VERSION
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_VERSION_TAG
- See Also:
-
JSON_PROPERTY_TENANT_ID
- See Also:
-
JSON_PROPERTY_CREATION_DATE
- See Also:
-
JSON_PROPERTY_LAST_UPDATED_DATE
- See Also:
-
JSON_PROPERTY_COMPLETION_DATE
- See Also:
-
JSON_PROPERTY_ELEMENT_INSTANCE_KEYS
- See Also:
-
-
Constructor Details
-
AgentInstanceResult
public AgentInstanceResult()
-
-
Method Details
-
agentInstanceKey
-
getAgentInstanceKey
The unique key for this agent instance.- Returns:
- agentInstanceKey
-
setAgentInstanceKey
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
definition
-
getDefinition
The static definition of the agent, including model, provider, and system prompt.- Returns:
- definition
-
setDefinition
-
metrics
-
getMetrics
Aggregated metrics across all loopIterations of this agent instance.- Returns:
- metrics
-
setMetrics
-
limits
-
getLimits
The configured limits for this agent instance, set once at creation.- Returns:
- limits
-
setLimits
-
tools
-
addToolsItem
-
getTools
The tools available to the agent.- Returns:
- tools
-
setTools
-
elementId
-
getElementId
The BPMN element ID of the ad-hoc sub-process or AI agent task that owns this agent instance.- Returns:
- elementId
-
setElementId
-
processInstanceKey
-
getProcessInstanceKey
The key of the process instance that owns this agent instance.- Returns:
- processInstanceKey
-
setProcessInstanceKey
-
rootProcessInstanceKey
-
getRootProcessInstanceKey
The key of the root process instance. The root process instance is the top-level ancestor in the process instance hierarchy.- Returns:
- rootProcessInstanceKey
-
setRootProcessInstanceKey
-
processDefinitionKey
-
getProcessDefinitionKey
The key of the process definition associated with this agent instance.- Returns:
- processDefinitionKey
-
setProcessDefinitionKey
-
processDefinitionId
-
getProcessDefinitionId
The BPMN process ID of the process definition associated with this agent instance.- Returns:
- processDefinitionId
-
setProcessDefinitionId
-
processDefinitionVersion
-
getProcessDefinitionVersion
The version of the process definition associated with this agent instance.- Returns:
- processDefinitionVersion
-
setProcessDefinitionVersion
-
processDefinitionVersionTag
public AgentInstanceResult processDefinitionVersionTag(@Nullable String processDefinitionVersionTag) -
getProcessDefinitionVersionTag
The version tag of the process definition associated with this agent instance.- Returns:
- processDefinitionVersionTag
-
setProcessDefinitionVersionTag
-
tenantId
-
getTenantId
The tenant ID of this agent instance.- Returns:
- tenantId
-
setTenantId
-
creationDate
-
getCreationDate
The date when this agent instance was created.- Returns:
- creationDate
-
setCreationDate
-
lastUpdatedDate
-
getLastUpdatedDate
The date when this agent instance was last updated.- Returns:
- lastUpdatedDate
-
setLastUpdatedDate
-
completionDate
-
getCompletionDate
The date when this agent instance completed. Null while the agent is still running.- Returns:
- completionDate
-
setCompletionDate
-
elementInstanceKeys
-
addElementInstanceKeysItem
-
getElementInstanceKeys
The keys of all element instances associated with this agent instance.- Returns:
- elementInstanceKeys
-
setElementInstanceKeys
-
equals
-
hashCode
public int hashCode() -
toString
-