Package com.datadog.api.client.v2.model
Class PageAnnotationsAttributes
java.lang.Object
com.datadog.api.client.v2.model.PageAnnotationsAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PageAnnotationsAttributes
extends Object
Attributes of the annotations on a page.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPageAnnotationsAttributes(Map<String, AnnotationInPage> annotations, List<UUID> globalAnnotations, Map<String, List<UUID>> widgetMapping) -
Method Summary
Modifier and TypeMethodDescriptionaddGlobalAnnotationsItem(UUID globalAnnotationsItem) annotations(Map<String, AnnotationInPage> annotations) booleanReturn true if this PageAnnotationsAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Map of annotation UUID to annotation object, keyed by annotation ID.List of annotation IDs that apply to the entire page rather than a specific widget.Map from widget ID to the list of annotation IDs displayed on that widget.globalAnnotations(List<UUID> globalAnnotations) inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putAnnotationsItem(String key, AnnotationInPage annotationsItem) putWidgetMappingItem(String key, List<UUID> widgetMappingItem) voidsetAnnotations(Map<String, AnnotationInPage> annotations) voidsetGlobalAnnotations(List<UUID> globalAnnotations) voidsetWidgetMapping(Map<String, List<UUID>> widgetMapping) toString()widgetMapping(Map<String, List<UUID>> widgetMapping)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ANNOTATIONS
- See Also:
-
JSON_PROPERTY_GLOBAL_ANNOTATIONS
- See Also:
-
JSON_PROPERTY_WIDGET_MAPPING
- See Also:
-
-
Constructor Details
-
PageAnnotationsAttributes
public PageAnnotationsAttributes() -
PageAnnotationsAttributes
-
-
Method Details
-
annotations
-
putAnnotationsItem
-
getAnnotations
Map of annotation UUID to annotation object, keyed by annotation ID.- Returns:
- annotations
-
setAnnotations
-
globalAnnotations
-
addGlobalAnnotationsItem
-
getGlobalAnnotations
List of annotation IDs that apply to the entire page rather than a specific widget.- Returns:
- globalAnnotations
-
setGlobalAnnotations
-
widgetMapping
-
putWidgetMappingItem
-
getWidgetMapping
Map from widget ID to the list of annotation IDs displayed on that widget.- Returns:
- widgetMapping
-
setWidgetMapping
-
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:
- PageAnnotationsAttributes
-
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 PageAnnotationsAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-