Class MetricOrigin

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MetricOrigin extends Object
Metric origin information.
  • Field Details

  • Constructor Details

    • MetricOrigin

      public MetricOrigin()
  • Method Details

    • metricType

      public MetricOrigin metricType(Integer metricType)
    • getMetricType

      @Nullable public Integer getMetricType()
      The origin metric type code maximum: 1000
      Returns:
      metricType
    • setMetricType

      public void setMetricType(Integer metricType)
    • product

      public MetricOrigin product(Integer product)
    • getProduct

      @Nullable public Integer getProduct()
      The origin product code maximum: 1000
      Returns:
      product
    • setProduct

      public void setProduct(Integer product)
    • service

      public MetricOrigin service(Integer service)
    • getService

      @Nullable public Integer getService()
      The origin service code maximum: 1000
      Returns:
      service
    • setService

      public void setService(Integer service)
    • putAdditionalProperty

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