Package com.datadog.api.client.v2.model
Class LLMObsSpanToolDefinition
java.lang.Object
com.datadog.api.client.v2.model.LLMObsSpanToolDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsSpanToolDefinition
extends Object
A tool definition available to an LLM span.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this LLMObsSpanToolDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Description of what the tool does.getName()Name of the tool.JSON schema describing the tool's input parameters.Version of the tool definition.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putSchemaItem(String key, Object schemaItem) voidsetDescription(String description) voidvoidvoidsetVersion(String version) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SCHEMA
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
LLMObsSpanToolDefinition
public LLMObsSpanToolDefinition()
-
-
Method Details
-
description
-
getDescription
Description of what the tool does.- Returns:
- description
-
setDescription
-
name
-
getName
Name of the tool.- Returns:
- name
-
setName
-
schema
-
putSchemaItem
-
getSchema
JSON schema describing the tool's input parameters.- Returns:
- schema
-
setSchema
-
version
-
getVersion
Version of the tool definition.- Returns:
- version
-
setVersion
-
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:
- LLMObsSpanToolDefinition
-
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 LLMObsSpanToolDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-