Package com.datadog.api.client.v2.model
Class LLMObsCreatePromptVersionData
java.lang.Object
com.datadog.api.client.v2.model.LLMObsCreatePromptVersionData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsCreatePromptVersionData
extends Object
Data object for creating an Agent Observability prompt version.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsCreatePromptVersionData(LLMObsCreatePromptVersionDataAttributes attributes, LLMObsPromptVersionType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(LLMObsCreatePromptVersionDataAttributes attributes) booleanReturn true if this LLMObsCreatePromptVersionData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes for creating a new version of an Agent Observability prompt.getType()Resource type of an Agent Observability prompt version.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(LLMObsCreatePromptVersionDataAttributes attributes) voidtoString()type(LLMObsPromptVersionType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LLMObsCreatePromptVersionData
public LLMObsCreatePromptVersionData() -
LLMObsCreatePromptVersionData
public LLMObsCreatePromptVersionData(LLMObsCreatePromptVersionDataAttributes attributes, LLMObsPromptVersionType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes for creating a new version of an Agent Observability prompt.templateis required; all other attributes are optional. Ifconfigis omitted, the latest version's configuration is carried forward. An explicit empty object clears it. Configuration authoring must be enabled for your organization to supplyconfig. Otherwise, supplying it, including an empty object, returns HTTP 403. Omittingconfigstill carries forward the latest configuration.- Returns:
- attributes
-
setAttributes
-
type
-
getType
Resource type of an Agent Observability prompt version.- 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:
- LLMObsCreatePromptVersionData
-
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 LLMObsCreatePromptVersionData object is equal to o. -
hashCode
public int hashCode() -
toString
-