Package com.datadog.api.client.v2.model
Class LLMObsExperimentSpan
java.lang.Object
com.datadog.api.client.v2.model.LLMObsExperimentSpan
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsExperimentSpan
extends Object
A span associated with an Agent Observability experiment.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsExperimentSpan(String datasetId, Long duration, String name, String projectId, String spanId, Long startNs, LLMObsExperimentSpanStatus status, String traceId) -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) booleanReturn true if this LLMObsExperimentSpan object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Dataset ID associated with this span.Duration of the span in nanoseconds.getMeta()Metadata associated with an experiment span.getName()Name of the span.Project ID associated with this span.Unique identifier of the span.Start time of the span in nanoseconds since Unix epoch.Status of the span.getTags()List of tags associated with the span.Trace ID for the span.inthashCode()meta(LLMObsExperimentSpanMeta meta) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDatasetId(String datasetId) voidsetDuration(Long duration) voidvoidvoidsetProjectId(String projectId) voidvoidsetStartNs(Long startNs) voidsetStatus(LLMObsExperimentSpanStatus status) voidvoidsetTraceId(String traceId) status(LLMObsExperimentSpanStatus status) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATASET_ID
- See Also:
-
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PROJECT_ID
- See Also:
-
JSON_PROPERTY_SPAN_ID
- See Also:
-
JSON_PROPERTY_START_NS
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TRACE_ID
- See Also:
-
-
Constructor Details
-
LLMObsExperimentSpan
public LLMObsExperimentSpan() -
LLMObsExperimentSpan
-
-
Method Details
-
datasetId
-
getDatasetId
Dataset ID associated with this span.- Returns:
- datasetId
-
setDatasetId
-
duration
-
getDuration
Duration of the span in nanoseconds.- Returns:
- duration
-
setDuration
-
meta
-
getMeta
Metadata associated with an experiment span.- Returns:
- meta
-
setMeta
-
name
-
getName
Name of the span.- Returns:
- name
-
setName
-
projectId
-
getProjectId
Project ID associated with this span.- Returns:
- projectId
-
setProjectId
-
spanId
-
getSpanId
Unique identifier of the span.- Returns:
- spanId
-
setSpanId
-
startNs
-
getStartNs
Start time of the span in nanoseconds since Unix epoch.- Returns:
- startNs
-
setStartNs
-
status
-
getStatus
Status of the span.- Returns:
- status
-
setStatus
-
tags
-
addTagsItem
-
getTags
List of tags associated with the span.- Returns:
- tags
-
setTags
-
traceId
-
getTraceId
Trace ID for the span.- Returns:
- traceId
-
setTraceId
-
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:
- LLMObsExperimentSpan
-
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 LLMObsExperimentSpan object is equal to o. -
hashCode
public int hashCode() -
toString
-