Class MetricDashboardAttributes

java.lang.Object
com.datadog.api.client.v2.model.MetricDashboardAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MetricDashboardAttributes extends Object
Attributes related to the dashboard, including title, popularity, and url.
  • Field Details

  • Constructor Details

    • MetricDashboardAttributes

      public MetricDashboardAttributes()
  • Method Details

    • popularity

      public MetricDashboardAttributes popularity(Double popularity)
    • getPopularity

      @Nullable public Double getPopularity()
      Value from 0 to 5 that ranks popularity of the dashboard. minimum: 0 maximum: 5
      Returns:
      popularity
    • setPopularity

      public void setPopularity(Double popularity)
    • tags

      public MetricDashboardAttributes tags(List<String> tags)
    • addTagsItem

      public MetricDashboardAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      List of tag keys used in the asset.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • title

      public MetricDashboardAttributes title(String title)
    • getTitle

      @Nullable public String getTitle()
      Title of the asset.
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • url

    • getUrl

      @Nullable public String getUrl()
      URL path of the asset.
      Returns:
      url
    • setUrl

      public void setUrl(String url)
    • putAdditionalProperty

      public MetricDashboardAttributes 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:
      MetricDashboardAttributes
    • 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 MetricDashboardAttributes 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