Package com.datadog.api.client.v2.model
Class LLMObsDisplayBlockInteractionItem
java.lang.Object
com.datadog.api.client.v2.model.LLMObsDisplayBlockInteractionItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsDisplayBlockInteractionItem
extends Object
An interaction whose rendered content is supplied directly as a list of display blocks. The
server generates
content_id deterministically from the block list.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsDisplayBlockInteractionItem(List<LLMObsContentBlock> displayBlock, LLMObsDisplayBlockInteractionType type) -
Method Summary
Modifier and TypeMethodDescriptionaddDisplayBlockItem(LLMObsContentBlock displayBlockItem) displayBlock(List<LLMObsContentBlock> displayBlock) booleanReturn true if this LLMObsDisplayBlockInteractionItem object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of content blocks that make up adisplay_blockinteraction.getType()Type discriminator for adisplay_blockinteraction.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDisplayBlock(List<LLMObsContentBlock> displayBlock) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DISPLAY_BLOCK
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LLMObsDisplayBlockInteractionItem
public LLMObsDisplayBlockInteractionItem() -
LLMObsDisplayBlockInteractionItem
public LLMObsDisplayBlockInteractionItem(List<LLMObsContentBlock> displayBlock, LLMObsDisplayBlockInteractionType type)
-
-
Method Details
-
displayBlock
-
addDisplayBlockItem
-
getDisplayBlock
List of content blocks that make up adisplay_blockinteraction. Must contain at least one block.- Returns:
- displayBlock
-
setDisplayBlock
-
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:
- LLMObsDisplayBlockInteractionItem
-
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 LLMObsDisplayBlockInteractionItem object is equal to o. -
hashCode
public int hashCode() -
toString
-