@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsInferenceContentValue extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_TEXT |
static String |
JSON_PROPERTY_TOOL_CALL |
static String |
JSON_PROPERTY_TOOL_CALL_RESULT |
boolean |
unparsed |
| Constructor and Description |
|---|
LLMObsInferenceContentValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this LLMObsInferenceContentValue object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getText()
Plain text content.
|
LLMObsInferenceToolCall |
getToolCall()
A tool call made during LLM inference.
|
LLMObsInferenceToolResult |
getToolCallResult()
The result returned by a tool call during LLM inference.
|
int |
hashCode() |
LLMObsInferenceContentValue |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setText(String text) |
void |
setToolCall(LLMObsInferenceToolCall toolCall) |
void |
setToolCallResult(LLMObsInferenceToolResult toolCallResult) |
LLMObsInferenceContentValue |
text(String text) |
LLMObsInferenceContentValue |
toolCall(LLMObsInferenceToolCall toolCall) |
LLMObsInferenceContentValue |
toolCallResult(LLMObsInferenceToolResult toolCallResult) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_TEXT
public static final String JSON_PROPERTY_TOOL_CALL
public static final String JSON_PROPERTY_TOOL_CALL_RESULT
public LLMObsInferenceContentValue text(String text)
@Nullable public String getText()
public void setText(String text)
public LLMObsInferenceContentValue toolCall(LLMObsInferenceToolCall toolCall)
@Nullable public LLMObsInferenceToolCall getToolCall()
public void setToolCall(LLMObsInferenceToolCall toolCall)
public LLMObsInferenceContentValue toolCallResult(LLMObsInferenceToolResult toolCallResult)
@Nullable public LLMObsInferenceToolResult getToolCallResult()
public void setToolCallResult(LLMObsInferenceToolResult toolCallResult)
public LLMObsInferenceContentValue putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.