@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AnnotationData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
AnnotationData() |
AnnotationData(AnnotationAttributes attributes,
UUID id,
AnnotationType type) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationData |
attributes(AnnotationAttributes attributes) |
boolean |
equals(Object o)
Return true if this AnnotationData 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.
|
AnnotationAttributes |
getAttributes()
Attributes of an annotation returned in a response.
|
UUID |
getId()
Unique identifier of the annotation.
|
AnnotationType |
getType()
Annotation resource type.
|
int |
hashCode() |
AnnotationData |
id(UUID id) |
AnnotationData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(AnnotationAttributes attributes) |
void |
setId(UUID id) |
void |
setType(AnnotationType type) |
String |
toString() |
AnnotationData |
type(AnnotationType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_TYPE
public AnnotationData()
public AnnotationData(AnnotationAttributes attributes, UUID id, AnnotationType type)
public AnnotationData attributes(AnnotationAttributes attributes)
public AnnotationAttributes getAttributes()
public void setAttributes(AnnotationAttributes attributes)
public AnnotationData id(UUID id)
public UUID getId()
public void setId(UUID id)
public AnnotationData type(AnnotationType type)
public AnnotationType getType()
public void setType(AnnotationType type)
public AnnotationData 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.