Package com.datadog.api.client.v2.model
Class LLMObsDisplayBlockAnnotatedInteractionItem
java.lang.Object
com.datadog.api.client.v2.model.LLMObsDisplayBlockAnnotatedInteractionItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsDisplayBlockAnnotatedInteractionItem
extends Object
A display_block interaction with its associated annotations.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsDisplayBlockAnnotatedInteractionItem(List<LLMObsAnnotationItem> annotations, Boolean canAnnotate, String contentId, List<LLMObsContentBlock> displayBlock, String id, LLMObsDisplayBlockInteractionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotationsItem(LLMObsAnnotationItem annotationsItem) addDisplayBlockItem(LLMObsContentBlock displayBlockItem) annotations(List<LLMObsAnnotationItem> annotations) canAnnotate(Boolean canAnnotate) displayBlock(List<LLMObsContentBlock> displayBlock) booleanReturn true if this LLMObsDisplayBlockAnnotatedInteractionItem 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.Server-generated deterministic identifier derived from the block list.List of content blocks that make up adisplay_blockinteraction.getId()Unique identifier of the interaction.getType()Type discriminator for adisplay_blockinteraction.inthashCode()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) voidsetDisplayBlock(List<LLMObsContentBlock> displayBlock) voidvoidtoString()
-
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_DISPLAY_BLOCK
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LLMObsDisplayBlockAnnotatedInteractionItem
public LLMObsDisplayBlockAnnotatedInteractionItem() -
LLMObsDisplayBlockAnnotatedInteractionItem
public LLMObsDisplayBlockAnnotatedInteractionItem(List<LLMObsAnnotationItem> annotations, Boolean canAnnotate, String contentId, List<LLMObsContentBlock> displayBlock, String id, LLMObsDisplayBlockInteractionType type)
-
-
Method Details
-
annotations
public LLMObsDisplayBlockAnnotatedInteractionItem annotations(List<LLMObsAnnotationItem> annotations) -
addAnnotationsItem
public LLMObsDisplayBlockAnnotatedInteractionItem 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
Server-generated deterministic identifier derived from the block list.- Returns:
- contentId
-
setContentId
-
displayBlock
public LLMObsDisplayBlockAnnotatedInteractionItem displayBlock(List<LLMObsContentBlock> displayBlock) -
addDisplayBlockItem
public LLMObsDisplayBlockAnnotatedInteractionItem 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
-
type
-
getType
Type discriminator for adisplay_blockinteraction.- 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:
- LLMObsDisplayBlockAnnotatedInteractionItem
-
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 LLMObsDisplayBlockAnnotatedInteractionItem object is equal to o. -
hashCode
public int hashCode() -
toString
-