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 Details

  • Constructor Details

  • Method Details

    • annotations

      public PageAnnotationsAttributes annotations(Map<String,AnnotationInPage> annotations)
    • putAnnotationsItem

      public PageAnnotationsAttributes putAnnotationsItem(String key, AnnotationInPage annotationsItem)
    • getAnnotations

      public Map<String,AnnotationInPage> getAnnotations()
      Map of annotation UUID to annotation object, keyed by annotation ID.
      Returns:
      annotations
    • setAnnotations

      public void setAnnotations(Map<String,AnnotationInPage> annotations)
    • globalAnnotations

      public PageAnnotationsAttributes globalAnnotations(List<UUID> globalAnnotations)
    • addGlobalAnnotationsItem

      public PageAnnotationsAttributes addGlobalAnnotationsItem(UUID globalAnnotationsItem)
    • getGlobalAnnotations

      public List<UUID> getGlobalAnnotations()
      List of annotation IDs that apply to the entire page rather than a specific widget.
      Returns:
      globalAnnotations
    • setGlobalAnnotations

      public void setGlobalAnnotations(List<UUID> globalAnnotations)
    • widgetMapping

      public PageAnnotationsAttributes widgetMapping(Map<String,List<UUID>> widgetMapping)
    • putWidgetMappingItem

      public PageAnnotationsAttributes putWidgetMappingItem(String key, List<UUID> widgetMappingItem)
    • getWidgetMapping

      public Map<String,List<UUID>> getWidgetMapping()
      Map from widget ID to the list of annotation IDs displayed on that widget.
      Returns:
      widgetMapping
    • setWidgetMapping

      public void setWidgetMapping(Map<String,List<UUID>> widgetMapping)
    • putAdditionalProperty

      public PageAnnotationsAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      PageAnnotationsAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this PageAnnotationsAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object