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 Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_INTERACTION_ID

      public static final String JSON_PROPERTY_INTERACTION_ID
      See Also:
    • JSON_PROPERTY_LABEL_VALUES

      public static final String JSON_PROPERTY_LABEL_VALUES
      See Also:
  • Constructor Details

    • LLMObsUpsertAnnotationItem

      public LLMObsUpsertAnnotationItem()
    • LLMObsUpsertAnnotationItem

      public LLMObsUpsertAnnotationItem(String interactionId, List<LLMObsAnnotationLabelValue> labelValues)
  • Method Details

    • interactionId

      public LLMObsUpsertAnnotationItem interactionId(String interactionId)
    • getInteractionId

      public String getInteractionId()
      ID of the interaction to annotate.
      Returns:
      interactionId
    • setInteractionId

      public void setInteractionId(String interactionId)
    • labelValues

      public LLMObsUpsertAnnotationItem labelValues(List<LLMObsAnnotationLabelValue> labelValues)
    • addLabelValuesItem

      public LLMObsUpsertAnnotationItem addLabelValuesItem(LLMObsAnnotationLabelValue labelValuesItem)
    • getLabelValues

      public List<LLMObsAnnotationLabelValue> 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

      public void setLabelValues(List<LLMObsAnnotationLabelValue> labelValues)
    • putAdditionalProperty

      public LLMObsUpsertAnnotationItem putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      LLMObsUpsertAnnotationItem
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this LLMObsUpsertAnnotationItem object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object