@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsPromptDataAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_AUTHOR |
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_CREATED_FROM |
static String |
JSON_PROPERTY_DATASETS |
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_EXTRACTED_FROM |
static String |
JSON_PROPERTY_IN_REGISTRY |
static String |
JSON_PROPERTY_LAST_SEEN_AT |
static String |
JSON_PROPERTY_LAST_VERSION_CREATED_AT |
static String |
JSON_PROPERTY_ML_APP |
static String |
JSON_PROPERTY_ML_APPS |
static String |
JSON_PROPERTY_NUM_VERSIONS |
static String |
JSON_PROPERTY_PROMPT_ID |
static String |
JSON_PROPERTY_SOURCE |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TITLE |
boolean |
unparsed |
| Constructor and Description |
|---|
LLMObsPromptDataAttributes() |
LLMObsPromptDataAttributes(String createdFrom,
Boolean inRegistry,
Long numVersions,
String promptId,
LLMObsPromptResponseSource source) |
| Modifier and Type | Method and Description |
|---|---|
LLMObsPromptDataAttributes |
addDatasetsItem(LLMObsPromptDataset datasetsItem) |
LLMObsPromptDataAttributes |
addMlAppsItem(String mlAppsItem) |
LLMObsPromptDataAttributes |
addTagsItem(String tagsItem) |
LLMObsPromptDataAttributes |
author(String author) |
LLMObsPromptDataAttributes |
createdAt(OffsetDateTime createdAt) |
LLMObsPromptDataAttributes |
createdFrom(String createdFrom) |
LLMObsPromptDataAttributes |
datasets(List<LLMObsPromptDataset> datasets) |
LLMObsPromptDataAttributes |
description(String description) |
boolean |
equals(Object o)
Return true if this LLMObsPromptDataAttributes object is equal to o.
|
LLMObsPromptDataAttributes |
extractedFrom(String extractedFrom) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAuthor()
UUID of the user who authored the prompt.
|
OffsetDateTime |
getCreatedAt()
Timestamp when the prompt was created.
|
String |
getCreatedFrom()
Source that created the prompt, such as
ui-registry, sdk-registry, or
sdk-instrumentation. |
List<LLMObsPromptDataset> |
getDatasets()
Datasets observed in runs associated with this prompt.
|
String |
getDescription()
Description of the prompt.
|
String |
getExtractedFrom()
Source prompt from which this prompt was extracted, when applicable.
|
Boolean |
getInRegistry()
Whether the prompt is a registry entry (as opposed to a code-discovered prompt).
|
OffsetDateTime |
getLastSeenAt()
Timestamp of the most recent observed run of this prompt.
|
OffsetDateTime |
getLastVersionCreatedAt()
Timestamp when the most recent version of the prompt was created.
|
String |
getMlApp()
The ML application this prompt is associated with.
|
List<String> |
getMlApps()
ML applications observed running this prompt.
|
Long |
getNumVersions()
Number of versions of the prompt.
|
String |
getPromptId()
Customer-provided identifier of the prompt.
|
LLMObsPromptResponseSource |
getSource()
Whether the prompt was created from the registry or discovered from observed LLM calls.
|
List<String> |
getTags()
Tags observed on runs of this prompt.
|
String |
getTitle()
Title of the prompt.
|
int |
hashCode() |
LLMObsPromptDataAttributes |
inRegistry(Boolean inRegistry) |
LLMObsPromptDataAttributes |
lastSeenAt(OffsetDateTime lastSeenAt) |
LLMObsPromptDataAttributes |
lastVersionCreatedAt(OffsetDateTime lastVersionCreatedAt) |
LLMObsPromptDataAttributes |
mlApp(String mlApp) |
LLMObsPromptDataAttributes |
mlApps(List<String> mlApps) |
LLMObsPromptDataAttributes |
numVersions(Long numVersions) |
LLMObsPromptDataAttributes |
promptId(String promptId) |
LLMObsPromptDataAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAuthor(String author) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setCreatedFrom(String createdFrom) |
void |
setDatasets(List<LLMObsPromptDataset> datasets) |
void |
setDescription(String description) |
void |
setExtractedFrom(String extractedFrom) |
void |
setInRegistry(Boolean inRegistry) |
void |
setLastSeenAt(OffsetDateTime lastSeenAt) |
void |
setLastVersionCreatedAt(OffsetDateTime lastVersionCreatedAt) |
void |
setMlApp(String mlApp) |
void |
setMlApps(List<String> mlApps) |
void |
setNumVersions(Long numVersions) |
void |
setPromptId(String promptId) |
void |
setSource(LLMObsPromptResponseSource source) |
void |
setTags(List<String> tags) |
void |
setTitle(String title) |
LLMObsPromptDataAttributes |
source(LLMObsPromptResponseSource source) |
LLMObsPromptDataAttributes |
tags(List<String> tags) |
LLMObsPromptDataAttributes |
title(String title) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_AUTHOR
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_FROM
public static final String JSON_PROPERTY_DATASETS
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_EXTRACTED_FROM
public static final String JSON_PROPERTY_IN_REGISTRY
public static final String JSON_PROPERTY_LAST_SEEN_AT
public static final String JSON_PROPERTY_LAST_VERSION_CREATED_AT
public static final String JSON_PROPERTY_ML_APP
public static final String JSON_PROPERTY_ML_APPS
public static final String JSON_PROPERTY_NUM_VERSIONS
public static final String JSON_PROPERTY_PROMPT_ID
public static final String JSON_PROPERTY_SOURCE
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TITLE
public LLMObsPromptDataAttributes()
public LLMObsPromptDataAttributes(String createdFrom, Boolean inRegistry, Long numVersions, String promptId, LLMObsPromptResponseSource source)
public LLMObsPromptDataAttributes author(String author)
@Nullable public String getAuthor()
public void setAuthor(String author)
public LLMObsPromptDataAttributes createdAt(OffsetDateTime createdAt)
@Nullable public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public LLMObsPromptDataAttributes createdFrom(String createdFrom)
public String getCreatedFrom()
ui-registry, sdk-registry, or
sdk-instrumentation.public void setCreatedFrom(String createdFrom)
public LLMObsPromptDataAttributes datasets(List<LLMObsPromptDataset> datasets)
public LLMObsPromptDataAttributes addDatasetsItem(LLMObsPromptDataset datasetsItem)
@Nullable public List<LLMObsPromptDataset> getDatasets()
public void setDatasets(List<LLMObsPromptDataset> datasets)
public LLMObsPromptDataAttributes description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public LLMObsPromptDataAttributes extractedFrom(String extractedFrom)
@Nullable public String getExtractedFrom()
public void setExtractedFrom(String extractedFrom)
public LLMObsPromptDataAttributes inRegistry(Boolean inRegistry)
public Boolean getInRegistry()
public void setInRegistry(Boolean inRegistry)
public LLMObsPromptDataAttributes lastSeenAt(OffsetDateTime lastSeenAt)
@Nullable public OffsetDateTime getLastSeenAt()
public void setLastSeenAt(OffsetDateTime lastSeenAt)
public LLMObsPromptDataAttributes lastVersionCreatedAt(OffsetDateTime lastVersionCreatedAt)
@Nullable public OffsetDateTime getLastVersionCreatedAt()
public void setLastVersionCreatedAt(OffsetDateTime lastVersionCreatedAt)
public LLMObsPromptDataAttributes mlApp(String mlApp)
@Nullable public String getMlApp()
public void setMlApp(String mlApp)
public LLMObsPromptDataAttributes mlApps(List<String> mlApps)
public LLMObsPromptDataAttributes addMlAppsItem(String mlAppsItem)
@Nullable public List<String> getMlApps()
public LLMObsPromptDataAttributes numVersions(Long numVersions)
public Long getNumVersions()
public void setNumVersions(Long numVersions)
public LLMObsPromptDataAttributes promptId(String promptId)
public String getPromptId()
public void setPromptId(String promptId)
public LLMObsPromptDataAttributes source(LLMObsPromptResponseSource source)
public LLMObsPromptResponseSource getSource()
public void setSource(LLMObsPromptResponseSource source)
public LLMObsPromptDataAttributes tags(List<String> tags)
public LLMObsPromptDataAttributes addTagsItem(String tagsItem)
public LLMObsPromptDataAttributes title(String title)
@Nullable public String getTitle()
public void setTitle(String title)
public LLMObsPromptDataAttributes 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.