Package com.datadog.api.client.v2.model
Class TraceAttributes
java.lang.Object
com.datadog.api.client.v2.model.TraceAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TraceAttributes
extends Object
The attributes of a trace returned by the Get trace by ID endpoint.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSpansItem(APMTraceSpan spansItem) booleanReturn true if this TraceAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Indicates whether the trace was truncated because its size exceeded the maximum response payload.getSpans()The list of spans that compose the trace.inthashCode()isTruncated(Boolean isTruncated) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIsTruncated(Boolean isTruncated) voidsetSpans(List<APMTraceSpan> spans) spans(List<APMTraceSpan> spans) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_IS_TRUNCATED
- See Also:
-
JSON_PROPERTY_SPANS
- See Also:
-
-
Constructor Details
-
TraceAttributes
public TraceAttributes() -
TraceAttributes
-
-
Method Details
-
isTruncated
-
getIsTruncated
Indicates whether the trace was truncated because its size exceeded the maximum response payload.- Returns:
- isTruncated
-
setIsTruncated
-
spans
-
addSpansItem
-
getSpans
The list of spans that compose the trace.- Returns:
- spans
-
setSpans
-
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:
- TraceAttributes
-
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 TraceAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-