Package com.datadog.api.client.v2.model
Class LLMObsPromptAuthoringMessagesTemplate
java.lang.Object
com.datadog.api.client.v2.model.LLMObsPromptAuthoringMessagesTemplate
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsPromptAuthoringMessagesTemplate
extends Object
A chat prompt whose authored items are stored under
messages.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddMessagesItem(LLMObsPromptAuthoringItem messagesItem) booleanReturn true if this LLMObsPromptAuthoringMessagesTemplate object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A chat prompt containing messages, references to specific versions of other prompts, or both.inthashCode()messages(List<LLMObsPromptAuthoringItem> messages) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMessages(List<LLMObsPromptAuthoringItem> messages) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_MESSAGES
- See Also:
-
-
Constructor Details
-
LLMObsPromptAuthoringMessagesTemplate
public LLMObsPromptAuthoringMessagesTemplate() -
LLMObsPromptAuthoringMessagesTemplate
-
-
Method Details
-
messages
-
addMessagesItem
public LLMObsPromptAuthoringMessagesTemplate addMessagesItem(LLMObsPromptAuthoringItem messagesItem) -
getMessages
A chat prompt containing messages, references to specific versions of other prompts, or both.- Returns:
- messages
-
setMessages
-
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:
- LLMObsPromptAuthoringMessagesTemplate
-
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 LLMObsPromptAuthoringMessagesTemplate object is equal to o. -
hashCode
public int hashCode() -
toString
-