Class MetricAssetAttributes

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

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

  • Constructor Details

    • MetricAssetAttributes

      public MetricAssetAttributes()
  • Method Details

    • tags

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

      public MetricAssetAttributes 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 MetricAssetAttributes title(String title)
    • getTitle

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

      public void setTitle(String title)
    • url

      public MetricAssetAttributes url(String url)
    • getUrl

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

      public void setUrl(String url)
    • putAdditionalProperty

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