Package com.datadog.api.client.v2.model
Class LLMObsUpsertAnnotationItem
java.lang.Object
com.datadog.api.client.v2.model.LLMObsUpsertAnnotationItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsUpsertAnnotationItem
extends Object
A single annotation to create or update. The annotation is matched by
interaction_id
and the requesting user's identity.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsUpsertAnnotationItem(String interactionId, List<LLMObsAnnotationLabelValue> labelValues) -
Method Summary
Modifier and TypeMethodDescriptionaddLabelValuesItem(LLMObsAnnotationLabelValue labelValuesItem) booleanReturn true if this LLMObsUpsertAnnotationItem object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.ID of the interaction to annotate.Label values for this annotation.inthashCode()interactionId(String interactionId) labelValues(List<LLMObsAnnotationLabelValue> labelValues) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetInteractionId(String interactionId) voidsetLabelValues(List<LLMObsAnnotationLabelValue> labelValues) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_INTERACTION_ID
- See Also:
-
JSON_PROPERTY_LABEL_VALUES
- See Also:
-
-
Constructor Details
-
LLMObsUpsertAnnotationItem
public LLMObsUpsertAnnotationItem() -
LLMObsUpsertAnnotationItem
public LLMObsUpsertAnnotationItem(String interactionId, List<LLMObsAnnotationLabelValue> labelValues)
-
-
Method Details
-
interactionId
-
getInteractionId
ID of the interaction to annotate.- Returns:
- interactionId
-
setInteractionId
-
labelValues
-
addLabelValuesItem
-
getLabelValues
Label values for this annotation. Each entry references a label schema by ID and provides the corresponding value validated against the schema type constraints.- Returns:
- labelValues
-
setLabelValues
-
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:
- LLMObsUpsertAnnotationItem
-
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 LLMObsUpsertAnnotationItem object is equal to o. -
hashCode
public int hashCode() -
toString
-