Package com.datadog.api.client.v2.model
Class LLMObsPatternsClusteredPointRef
java.lang.Object
com.datadog.api.client.v2.model.LLMObsPatternsClusteredPointRef
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsPatternsClusteredPointRef
extends Object
A clustered point attached inline to a topic. The metric fields are populated only when the
request includes
include_metrics=true.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LLMObsPatternsClusteredPointRef object is equal to o.estimatedTotalCost(Double estimatedTotalCost) evaluation(Map<String, Object> evaluation) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Duration of the source span in nanoseconds.Estimated total cost of the source span.Evaluation results for the source span keyed by evaluation name.Number of input tokens of the source span.Number of output tokens of the source span.Identifier of the source span.Status of the source span.Total number of tokens of the source span.inthashCode()inputTokens(Double inputTokens) outputTokens(Double outputTokens) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putEvaluationItem(String key, Object evaluationItem) voidsetDuration(Double duration) voidsetEstimatedTotalCost(Double estimatedTotalCost) voidsetEvaluation(Map<String, Object> evaluation) voidsetInputTokens(Double inputTokens) voidsetOutputTokens(Double outputTokens) voidvoidvoidsetTotalTokens(Double totalTokens) toString()totalTokens(Double totalTokens)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_ESTIMATED_TOTAL_COST
- See Also:
-
JSON_PROPERTY_EVALUATION
- See Also:
-
JSON_PROPERTY_INPUT_TOKENS
- See Also:
-
JSON_PROPERTY_OUTPUT_TOKENS
- See Also:
-
JSON_PROPERTY_SPAN_ID
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TOTAL_TOKENS
- See Also:
-
-
Constructor Details
-
LLMObsPatternsClusteredPointRef
public LLMObsPatternsClusteredPointRef() -
LLMObsPatternsClusteredPointRef
-
-
Method Details
-
duration
-
getDuration
Duration of the source span in nanoseconds. Included only when metrics are requested.- Returns:
- duration
-
setDuration
-
estimatedTotalCost
-
getEstimatedTotalCost
Estimated total cost of the source span. Included only when metrics are requested.- Returns:
- estimatedTotalCost
-
setEstimatedTotalCost
-
evaluation
-
putEvaluationItem
-
getEvaluation
Evaluation results for the source span keyed by evaluation name. Included only when metrics are requested.- Returns:
- evaluation
-
setEvaluation
-
inputTokens
-
getInputTokens
Number of input tokens of the source span. Included only when metrics are requested.- Returns:
- inputTokens
-
setInputTokens
-
outputTokens
-
getOutputTokens
Number of output tokens of the source span. Included only when metrics are requested.- Returns:
- outputTokens
-
setOutputTokens
-
spanId
-
getSpanId
Identifier of the source span.- Returns:
- spanId
-
setSpanId
-
status
-
getStatus
Status of the source span. Included only when metrics are requested.- Returns:
- status
-
setStatus
-
totalTokens
-
getTotalTokens
Total number of tokens of the source span. Included only when metrics are requested.- Returns:
- totalTokens
-
setTotalTokens
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- LLMObsPatternsClusteredPointRef
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this LLMObsPatternsClusteredPointRef object is equal to o. -
hashCode
public int hashCode() -
toString
-