@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PageAnnotationsAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ANNOTATIONS |
static String |
JSON_PROPERTY_GLOBAL_ANNOTATIONS |
static String |
JSON_PROPERTY_WIDGET_MAPPING |
boolean |
unparsed |
| Constructor and Description |
|---|
PageAnnotationsAttributes() |
PageAnnotationsAttributes(Map<String,AnnotationInPage> annotations,
List<UUID> globalAnnotations,
Map<String,List<UUID>> widgetMapping) |
| Modifier and Type | Method and Description |
|---|---|
PageAnnotationsAttributes |
addGlobalAnnotationsItem(UUID globalAnnotationsItem) |
PageAnnotationsAttributes |
annotations(Map<String,AnnotationInPage> annotations) |
boolean |
equals(Object o)
Return true if this PageAnnotationsAttributes 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.
|
Map<String,AnnotationInPage> |
getAnnotations()
Map of annotation UUID to annotation object, keyed by annotation ID.
|
List<UUID> |
getGlobalAnnotations()
List of annotation IDs that apply to the entire page rather than a specific widget.
|
Map<String,List<UUID>> |
getWidgetMapping()
Map from widget ID to the list of annotation IDs displayed on that widget.
|
PageAnnotationsAttributes |
globalAnnotations(List<UUID> globalAnnotations) |
int |
hashCode() |
PageAnnotationsAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
PageAnnotationsAttributes |
putAnnotationsItem(String key,
AnnotationInPage annotationsItem) |
PageAnnotationsAttributes |
putWidgetMappingItem(String key,
List<UUID> widgetMappingItem) |
void |
setAnnotations(Map<String,AnnotationInPage> annotations) |
void |
setGlobalAnnotations(List<UUID> globalAnnotations) |
void |
setWidgetMapping(Map<String,List<UUID>> widgetMapping) |
String |
toString() |
PageAnnotationsAttributes |
widgetMapping(Map<String,List<UUID>> widgetMapping) |
public boolean unparsed
public static final String JSON_PROPERTY_ANNOTATIONS
public static final String JSON_PROPERTY_GLOBAL_ANNOTATIONS
public static final String JSON_PROPERTY_WIDGET_MAPPING
public PageAnnotationsAttributes annotations(Map<String,AnnotationInPage> annotations)
public PageAnnotationsAttributes putAnnotationsItem(String key, AnnotationInPage annotationsItem)
public Map<String,AnnotationInPage> getAnnotations()
public void setAnnotations(Map<String,AnnotationInPage> annotations)
public PageAnnotationsAttributes globalAnnotations(List<UUID> globalAnnotations)
public PageAnnotationsAttributes addGlobalAnnotationsItem(UUID globalAnnotationsItem)
public List<UUID> getGlobalAnnotations()
public PageAnnotationsAttributes widgetMapping(Map<String,List<UUID>> widgetMapping)
public PageAnnotationsAttributes putWidgetMappingItem(String key, List<UUID> widgetMappingItem)
public Map<String,List<UUID>> getWidgetMapping()
public PageAnnotationsAttributes 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.