Package com.datadog.api.client.v2.model
Class LLMObsSpanToolResult
java.lang.Object
com.datadog.api.client.v2.model.LLMObsSpanToolResult
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsSpanToolResult
extends Object
A result returned from a tool call during a span.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LLMObsSpanToolResult object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getName()Name of the tool that produced this result.Result value returned by the tool.Identifier of the corresponding tool call.getType()Type of the tool result.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RESULT
- See Also:
-
JSON_PROPERTY_TOOL_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LLMObsSpanToolResult
public LLMObsSpanToolResult()
-
-
Method Details
-
name
-
getName
Name of the tool that produced this result.- Returns:
- name
-
setName
-
result
-
getResult
Result value returned by the tool.- Returns:
- result
-
setResult
-
toolId
-
getToolId
Identifier of the corresponding tool call.- Returns:
- toolId
-
setToolId
-
type
-
getType
Type of the tool result.- 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:
- LLMObsSpanToolResult
-
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 LLMObsSpanToolResult object is equal to o. -
hashCode
public int hashCode() -
toString
-