Class ScalarMeta

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ScalarMeta extends Object
Metadata for the resulting numerical values.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_UNIT

      public static final String JSON_PROPERTY_UNIT
      See Also:
  • Constructor Details

    • ScalarMeta

      public ScalarMeta()
  • Method Details

    • unit

      public ScalarMeta unit(List<Unit> unit)
    • addUnitItem

      public ScalarMeta addUnitItem(Unit unitItem)
    • getUnit

      @Nullable public List<Unit> getUnit()
      Detailed information about the unit. First element describes the "primary unit" (for example, bytes in bytes per second). The second element describes the "per unit" (for example, second in bytes per second). If the second element is not present, the API returns null.
      Returns:
      unit
    • getUnit_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<Unit>> getUnit_JsonNullable()
    • setUnit_JsonNullable

      public void setUnit_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<Unit>> unit)
    • setUnit

      public void setUnit(List<Unit> unit)
    • putAdditionalProperty

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