@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsPromptSDKDataAttributes extends Object
template and chat_template is returned.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CHAT_TEMPLATE |
static String |
JSON_PROPERTY_LABELS |
static String |
JSON_PROPERTY_PROMPT_ID |
static String |
JSON_PROPERTY_PROMPT_VERSION_UUID |
static String |
JSON_PROPERTY_TEMPLATE |
static String |
JSON_PROPERTY_VERSION |
boolean |
unparsed |
| Constructor and Description |
|---|
LLMObsPromptSDKDataAttributes() |
| Modifier and Type | Method and Description |
|---|---|
LLMObsPromptSDKDataAttributes |
addChatTemplateItem(LLMObsPromptChatMessage chatTemplateItem) |
LLMObsPromptSDKDataAttributes |
addLabelsItem(String labelsItem) |
LLMObsPromptSDKDataAttributes |
chatTemplate(List<LLMObsPromptChatMessage> chatTemplate) |
boolean |
equals(Object o)
Return true if this LLMObsPromptSDKDataAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<LLMObsPromptChatMessage> |
getChatTemplate()
Chat template for this prompt version, as a list of role and content messages.
|
List<String> |
getLabels()
Deprecated.
|
String |
getPromptId()
Customer-provided identifier of the prompt.
|
String |
getPromptVersionUuid()
Unique identifier of this prompt version.
|
String |
getTemplate()
Text template for this prompt version.
|
String |
getVersion()
Version identifier for this prompt version.
|
int |
hashCode() |
LLMObsPromptSDKDataAttributes |
labels(List<String> labels) |
LLMObsPromptSDKDataAttributes |
promptId(String promptId) |
LLMObsPromptSDKDataAttributes |
promptVersionUuid(String promptVersionUuid) |
LLMObsPromptSDKDataAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setChatTemplate(List<LLMObsPromptChatMessage> chatTemplate) |
void |
setLabels(List<String> labels)
Deprecated.
|
void |
setPromptId(String promptId) |
void |
setPromptVersionUuid(String promptVersionUuid) |
void |
setTemplate(String template) |
void |
setVersion(String version) |
LLMObsPromptSDKDataAttributes |
template(String template) |
String |
toString() |
LLMObsPromptSDKDataAttributes |
version(String version) |
public boolean unparsed
public static final String JSON_PROPERTY_CHAT_TEMPLATE
public static final String JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_PROMPT_ID
public static final String JSON_PROPERTY_PROMPT_VERSION_UUID
public static final String JSON_PROPERTY_TEMPLATE
public static final String JSON_PROPERTY_VERSION
public LLMObsPromptSDKDataAttributes chatTemplate(List<LLMObsPromptChatMessage> chatTemplate)
public LLMObsPromptSDKDataAttributes addChatTemplateItem(LLMObsPromptChatMessage chatTemplateItem)
@Nullable public List<LLMObsPromptChatMessage> getChatTemplate()
public void setChatTemplate(List<LLMObsPromptChatMessage> chatTemplate)
public LLMObsPromptSDKDataAttributes labels(List<String> labels)
public LLMObsPromptSDKDataAttributes addLabelsItem(String labelsItem)
@Deprecated @Nullable public List<String> getLabels()
@Deprecated public void setLabels(List<String> labels)
public LLMObsPromptSDKDataAttributes promptId(String promptId)
@Nullable public String getPromptId()
public void setPromptId(String promptId)
public LLMObsPromptSDKDataAttributes promptVersionUuid(String promptVersionUuid)
@Nullable public String getPromptVersionUuid()
public void setPromptVersionUuid(String promptVersionUuid)
public LLMObsPromptSDKDataAttributes template(String template)
@Nullable public String getTemplate()
public void setTemplate(String template)
public LLMObsPromptSDKDataAttributes version(String version)
@Nullable public String getVersion()
public void setVersion(String version)
public LLMObsPromptSDKDataAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.