Package com.datadog.api.client.v2.model
Class LLMObsAnnotatedInteractionByTraceItem
java.lang.Object
com.datadog.api.client.v2.model.LLMObsAnnotatedInteractionByTraceItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsAnnotatedInteractionByTraceItem
extends Object
An annotated interaction returned by the cross-queue lookup, including the source queue metadata.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsAnnotatedInteractionByTraceItem(List<LLMObsAnnotationItem> annotations, Boolean canAnnotate, String contentId, OffsetDateTime createdAt, String id, OffsetDateTime modifiedAt, String queueId, String queueName, LLMObsAnyInteractionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotationsItem(LLMObsAnnotationItem annotationsItem) addDisplayBlockItem(LLMObsContentBlock displayBlockItem) annotations(List<LLMObsAnnotationItem> annotations) canAnnotate(Boolean canAnnotate) createdAt(OffsetDateTime createdAt) displayBlock(List<LLMObsContentBlock> displayBlock) booleanReturn true if this LLMObsAnnotatedInteractionByTraceItem 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 (trace ID, session ID, or deterministic display_block ID).Timestamp when the interaction was added to the queue.List of content blocks that make up adisplay_blockinteraction.getId()Unique identifier of the interaction.Timestamp when the interaction was last updated.Identifier of the annotation queue this interaction belongs to.Name of the annotation queue this interaction belongs to.getType()Type of an annotated 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) voidsetDisplayBlock(List<LLMObsContentBlock> displayBlock) voidvoidsetModifiedAt(OffsetDateTime modifiedAt) voidsetQueueId(String queueId) voidsetQueueName(String queueName) voidtoString()type(LLMObsAnyInteractionType type)
-
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_DISPLAY_BLOCK
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_QUEUE_ID
- See Also:
-
JSON_PROPERTY_QUEUE_NAME
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LLMObsAnnotatedInteractionByTraceItem
public LLMObsAnnotatedInteractionByTraceItem() -
LLMObsAnnotatedInteractionByTraceItem
public LLMObsAnnotatedInteractionByTraceItem(List<LLMObsAnnotationItem> annotations, Boolean canAnnotate, String contentId, OffsetDateTime createdAt, String id, OffsetDateTime modifiedAt, String queueId, String queueName, LLMObsAnyInteractionType type)
-
-
Method Details
-
annotations
-
addAnnotationsItem
public LLMObsAnnotatedInteractionByTraceItem addAnnotationsItem(LLMObsAnnotationItem annotationsItem) -
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 (trace ID, session ID, or deterministic display_block ID).- Returns:
- contentId
-
setContentId
-
createdAt
-
getCreatedAt
Timestamp when the interaction was added to the queue.- Returns:
- createdAt
-
setCreatedAt
-
displayBlock
-
addDisplayBlockItem
public LLMObsAnnotatedInteractionByTraceItem addDisplayBlockItem(LLMObsContentBlock displayBlockItem) -
getDisplayBlock
List of content blocks that make up adisplay_blockinteraction. Must contain at least one block.- Returns:
- displayBlock
-
setDisplayBlock
-
id
-
getId
Unique identifier of the interaction.- Returns:
- id
-
setId
-
modifiedAt
-
getModifiedAt
Timestamp when the interaction was last updated.- Returns:
- modifiedAt
-
setModifiedAt
-
queueId
-
getQueueId
Identifier of the annotation queue this interaction belongs to.- Returns:
- queueId
-
setQueueId
-
queueName
-
getQueueName
Name of the annotation queue this interaction belongs to.- Returns:
- queueName
-
setQueueName
-
type
-
getType
Type of an annotated 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:
- LLMObsAnnotatedInteractionByTraceItem
-
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 LLMObsAnnotatedInteractionByTraceItem object is equal to o. -
hashCode
public int hashCode() -
toString
-