@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsCreatePromptDataAttributes extends Object
prompt_id
and template are required; all other attributes are optional.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_ENV_IDS |
static String |
JSON_PROPERTY_LABELS |
static String |
JSON_PROPERTY_PROMPT_ID |
static String |
JSON_PROPERTY_TEMPLATE |
static String |
JSON_PROPERTY_TITLE |
static String |
JSON_PROPERTY_USER_VERSION |
boolean |
unparsed |
| Constructor and Description |
|---|
LLMObsCreatePromptDataAttributes() |
LLMObsCreatePromptDataAttributes(String promptId,
LLMObsPromptTemplate template) |
| Modifier and Type | Method and Description |
|---|---|
LLMObsCreatePromptDataAttributes |
addEnvIdsItem(String envIdsItem) |
LLMObsCreatePromptDataAttributes |
addLabelsItem(LLMObsPromptVersionLabel labelsItem) |
LLMObsCreatePromptDataAttributes |
description(String description) |
LLMObsCreatePromptDataAttributes |
envIds(List<String> envIds) |
boolean |
equals(Object o)
Return true if this LLMObsCreatePromptDataAttributes 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.
|
String |
getDescription()
Optional description of the prompt.
|
List<String> |
getEnvIds()
Optional feature-flag environment UUIDs the service attempts to enable and configure to use the
first version as their default after creation.
|
List<LLMObsPromptVersionLabel> |
getLabels()
Deprecated.
|
String |
getPromptId()
Customer-provided identifier for the new prompt.
|
LLMObsPromptTemplate |
getTemplate()
A text template or a list of chat messages.
|
String |
getTitle()
Optional title of the prompt.
|
String |
getUserVersion()
Optional user-supplied version identifier for the first version.
|
int |
hashCode() |
LLMObsCreatePromptDataAttributes |
labels(List<LLMObsPromptVersionLabel> labels) |
LLMObsCreatePromptDataAttributes |
promptId(String promptId) |
LLMObsCreatePromptDataAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDescription(String description) |
void |
setEnvIds(List<String> envIds) |
void |
setLabels(List<LLMObsPromptVersionLabel> labels)
Deprecated.
|
void |
setPromptId(String promptId) |
void |
setTemplate(LLMObsPromptTemplate template) |
void |
setTitle(String title) |
void |
setUserVersion(String userVersion) |
LLMObsCreatePromptDataAttributes |
template(LLMObsPromptTemplate template) |
LLMObsCreatePromptDataAttributes |
title(String title) |
String |
toString() |
LLMObsCreatePromptDataAttributes |
userVersion(String userVersion) |
public boolean unparsed
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_ENV_IDS
public static final String JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_PROMPT_ID
public static final String JSON_PROPERTY_TEMPLATE
public static final String JSON_PROPERTY_TITLE
public static final String JSON_PROPERTY_USER_VERSION
public LLMObsCreatePromptDataAttributes()
public LLMObsCreatePromptDataAttributes(String promptId, LLMObsPromptTemplate template)
public LLMObsCreatePromptDataAttributes description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public LLMObsCreatePromptDataAttributes envIds(List<String> envIds)
public LLMObsCreatePromptDataAttributes addEnvIdsItem(String envIdsItem)
@Nullable public List<String> getEnvIds()
public LLMObsCreatePromptDataAttributes labels(List<LLMObsPromptVersionLabel> labels)
public LLMObsCreatePromptDataAttributes addLabelsItem(LLMObsPromptVersionLabel labelsItem)
@Deprecated @Nullable public List<LLMObsPromptVersionLabel> getLabels()
@Deprecated public void setLabels(List<LLMObsPromptVersionLabel> labels)
public LLMObsCreatePromptDataAttributes promptId(String promptId)
public String getPromptId()
public void setPromptId(String promptId)
public LLMObsCreatePromptDataAttributes template(LLMObsPromptTemplate template)
public LLMObsPromptTemplate getTemplate()
public void setTemplate(LLMObsPromptTemplate template)
public LLMObsCreatePromptDataAttributes title(String title)
@Nullable public String getTitle()
public void setTitle(String title)
public LLMObsCreatePromptDataAttributes userVersion(String userVersion)
@Nullable public String getUserVersion()
public void setUserVersion(String userVersion)
public LLMObsCreatePromptDataAttributes 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.