Package com.datadog.api.client.v2.model
Class LLMObsUpdatePromptData
java.lang.Object
com.datadog.api.client.v2.model.LLMObsUpdatePromptData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsUpdatePromptData
extends Object
Data object for updating an Agent Observability prompt.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsUpdatePromptData(LLMObsUpdatePromptDataAttributes attributes, LLMObsPromptType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(LLMObsUpdatePromptDataAttributes attributes) booleanReturn true if this LLMObsUpdatePromptData 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.getType()Resource type of an Agent Observability prompt.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(LLMObsUpdatePromptDataAttributes attributes) voidsetType(LLMObsPromptType type) toString()type(LLMObsPromptType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LLMObsUpdatePromptData
public LLMObsUpdatePromptData() -
LLMObsUpdatePromptData
-
-
Method Details
-
attributes
-
getAttributes
Attributes for updating an Agent Observability prompt. At least one oftitleordescriptionmust be provided; both attributes are optional individually.- Returns:
- attributes
-
setAttributes
-
type
-
getType
Resource type of an Agent Observability prompt.- 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:
- LLMObsUpdatePromptData
-
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 LLMObsUpdatePromptData object is equal to o. -
hashCode
public int hashCode() -
toString
-