Package com.datadog.api.client.v2.model
Class LLMObsAnnotationItemResponse
java.lang.Object
com.datadog.api.client.v2.model.LLMObsAnnotationItemResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsAnnotationItemResponse
extends Object
A single annotation on an interaction, as returned by the API.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsAnnotationItemResponse(OffsetDateTime createdAt, String createdBy, String id, String interactionId, List<LLMObsAnnotationLabelValueResponse> labelValues, OffsetDateTime modifiedAt, String modifiedBy) -
Method Summary
Modifier and TypeMethodDescriptionaddLabelValuesItem(LLMObsAnnotationLabelValueResponse labelValuesItem) createdAt(OffsetDateTime createdAt) booleanReturn true if this LLMObsAnnotationItemResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Timestamp when the annotation was created.Identifier of the user who created the annotation.getId()Unique identifier of the annotation.Identifier of the interaction this annotation belongs to.Label values for this annotation.Timestamp when the annotation was last modified.Identifier of the user who last modified the annotation.inthashCode()interactionId(String interactionId) labelValues(List<LLMObsAnnotationLabelValueResponse> labelValues) modifiedAt(OffsetDateTime modifiedAt) modifiedBy(String modifiedBy) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(String createdBy) voidvoidsetInteractionId(String interactionId) voidsetLabelValues(List<LLMObsAnnotationLabelValueResponse> labelValues) voidsetModifiedAt(OffsetDateTime modifiedAt) voidsetModifiedBy(String modifiedBy) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_INTERACTION_ID
- See Also:
-
JSON_PROPERTY_LABEL_VALUES
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_MODIFIED_BY
- See Also:
-
-
Constructor Details
-
LLMObsAnnotationItemResponse
public LLMObsAnnotationItemResponse() -
LLMObsAnnotationItemResponse
public LLMObsAnnotationItemResponse(OffsetDateTime createdAt, String createdBy, String id, String interactionId, List<LLMObsAnnotationLabelValueResponse> labelValues, OffsetDateTime modifiedAt, String modifiedBy)
-
-
Method Details
-
createdAt
-
getCreatedAt
Timestamp when the annotation was created.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
Identifier of the user who created the annotation.- Returns:
- createdBy
-
setCreatedBy
-
id
-
getId
Unique identifier of the annotation.- Returns:
- id
-
setId
-
interactionId
-
getInteractionId
Identifier of the interaction this annotation belongs to.- Returns:
- interactionId
-
setInteractionId
-
labelValues
public LLMObsAnnotationItemResponse labelValues(List<LLMObsAnnotationLabelValueResponse> labelValues) -
addLabelValuesItem
public LLMObsAnnotationItemResponse addLabelValuesItem(LLMObsAnnotationLabelValueResponse labelValuesItem) -
getLabelValues
Label values for this annotation. Each entry references a label schema by ID and provides the corresponding value.- Returns:
- labelValues
-
setLabelValues
-
modifiedAt
-
getModifiedAt
Timestamp when the annotation was last modified.- Returns:
- modifiedAt
-
setModifiedAt
-
modifiedBy
-
getModifiedBy
Identifier of the user who last modified the annotation.- Returns:
- modifiedBy
-
setModifiedBy
-
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:
- LLMObsAnnotationItemResponse
-
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 LLMObsAnnotationItemResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-