Package com.datadog.api.client.v2.model
Class LLMObsUpdatePromptVersionData
java.lang.Object
com.datadog.api.client.v2.model.LLMObsUpdatePromptVersionData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsUpdatePromptVersionData
extends Object
Data object for updating an Agent Observability prompt version.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsUpdatePromptVersionData(LLMObsUpdatePromptVersionDataAttributes attributes, LLMObsPromptVersionType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(LLMObsUpdatePromptVersionDataAttributes attributes) booleanReturn true if this LLMObsUpdatePromptVersionData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes for updating an Agent Observability prompt version.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(LLMObsUpdatePromptVersionDataAttributes attributes) voidtoString()type(LLMObsPromptVersionType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LLMObsUpdatePromptVersionData
public LLMObsUpdatePromptVersionData() -
LLMObsUpdatePromptVersionData
public LLMObsUpdatePromptVersionData(LLMObsUpdatePromptVersionDataAttributes attributes, LLMObsPromptVersionType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes for updating an Agent Observability prompt version. At least one ofdescription,labels, orenv_idsmust be provided; all three attributes are optional individually.- 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:
- LLMObsUpdatePromptVersionData
-
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 LLMObsUpdatePromptVersionData object is equal to o. -
hashCode
public int hashCode() -
toString
-