Package com.datadog.api.client.v2.model
Class LLMObsTraceAnnotatedInteractionItem
java.lang.Object
com.datadog.api.client.v2.model.LLMObsTraceAnnotatedInteractionItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsTraceAnnotatedInteractionItem
extends Object
A trace, experiment trace, or session interaction with its associated annotations.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsTraceAnnotatedInteractionItem(List<LLMObsAnnotationItem> annotations, Boolean canAnnotate, String contentId, OffsetDateTime createdAt, String id, OffsetDateTime modifiedAt, LLMObsTraceInteractionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotationsItem(LLMObsAnnotationItem annotationsItem) annotations(List<LLMObsAnnotationItem> annotations) canAnnotate(Boolean canAnnotate) createdAt(OffsetDateTime createdAt) booleanReturn true if this LLMObsTraceAnnotatedInteractionItem object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of annotations for this interaction.Whether the current caller can annotate this interaction.Upstream entity identifier supplied by the caller.Timestamp when the interaction was added to the queue.getId()Unique identifier of the interaction.Timestamp when the interaction was last updated.getType()Type of an upstream-entity interaction.inthashCode()modifiedAt(OffsetDateTime modifiedAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAnnotations(List<LLMObsAnnotationItem> annotations) voidsetCanAnnotate(Boolean canAnnotate) voidsetContentId(String contentId) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetModifiedAt(OffsetDateTime modifiedAt) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ANNOTATIONS
- See Also:
-
JSON_PROPERTY_CAN_ANNOTATE
- See Also:
-
JSON_PROPERTY_CONTENT_ID
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LLMObsTraceAnnotatedInteractionItem
public LLMObsTraceAnnotatedInteractionItem() -
LLMObsTraceAnnotatedInteractionItem
public LLMObsTraceAnnotatedInteractionItem(List<LLMObsAnnotationItem> annotations, Boolean canAnnotate, String contentId, OffsetDateTime createdAt, String id, OffsetDateTime modifiedAt, LLMObsTraceInteractionType type)
-
-
Method Details
-
annotations
-
addAnnotationsItem
-
getAnnotations
List of annotations for this interaction.- Returns:
- annotations
-
setAnnotations
-
canAnnotate
-
getCanAnnotate
Whether the current caller can annotate this interaction.- Returns:
- canAnnotate
-
setCanAnnotate
-
contentId
-
getContentId
Upstream entity identifier supplied by the caller.- Returns:
- contentId
-
setContentId
-
createdAt
-
getCreatedAt
Timestamp when the interaction was added to the queue.- Returns:
- createdAt
-
setCreatedAt
-
id
-
getId
Unique identifier of the interaction.- Returns:
- id
-
setId
-
modifiedAt
-
getModifiedAt
Timestamp when the interaction was last updated.- Returns:
- modifiedAt
-
setModifiedAt
-
type
-
getType
Type of an upstream-entity interaction.- Returns:
- type
-
setType
-
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:
- LLMObsTraceAnnotatedInteractionItem
-
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 LLMObsTraceAnnotatedInteractionItem object is equal to o. -
hashCode
public int hashCode() -
toString
-