Package io.camunda.client.protocol.rest
Class AgentInstanceMetricsDelta
java.lang.Object
io.camunda.client.protocol.rest.AgentInstanceMetricsDelta
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AgentInstanceMetricsDelta
extends Object
Metric increments to apply to the agent instance aggregate counters. The engine accumulates these deltas into running totals on each UPDATED event. All fields are optional; omit a field to leave the corresponding counter unchanged.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIncrement to apply to the total input token counter.Increment to apply to the total model call counter.Increment to apply to the total output token counter.Increment to apply to the total tool call counter.inthashCode()inputTokens(Long inputTokens) modelCalls(Integer modelCalls) outputTokens(Long outputTokens) voidsetInputTokens(Long inputTokens) voidsetModelCalls(Integer modelCalls) voidsetOutputTokens(Long outputTokens) voidsetToolCalls(Integer toolCalls) toString()
-
Field Details
-
JSON_PROPERTY_INPUT_TOKENS
- See Also:
-
JSON_PROPERTY_OUTPUT_TOKENS
- See Also:
-
JSON_PROPERTY_MODEL_CALLS
- See Also:
-
JSON_PROPERTY_TOOL_CALLS
- See Also:
-
-
Constructor Details
-
AgentInstanceMetricsDelta
public AgentInstanceMetricsDelta()
-
-
Method Details
-
inputTokens
-
getInputTokens
Increment to apply to the total input token counter. minimum: 0- Returns:
- inputTokens
-
setInputTokens
-
outputTokens
-
getOutputTokens
Increment to apply to the total output token counter. minimum: 0- Returns:
- outputTokens
-
setOutputTokens
-
modelCalls
-
getModelCalls
Increment to apply to the total model call counter. minimum: 0- Returns:
- modelCalls
-
setModelCalls
-
toolCalls
-
getToolCalls
Increment to apply to the total tool call counter. minimum: 0- Returns:
- toolCalls
-
setToolCalls
-
equals
-
hashCode
public int hashCode() -
toString
-