Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUnitItem(Unit unitItem) booleanReturn true if this ScalarMeta object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getUnit()Detailed information about the unit.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetUnit_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<Unit>> unit) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_UNIT
- See Also:
-
-
Constructor Details
-
ScalarMeta
public ScalarMeta()
-
-
Method Details
-
unit
-
addUnitItem
-
getUnit
Detailed information about the unit. First element describes the "primary unit" (for example,bytesinbytes per second). The second element describes the "per unit" (for example,secondinbytes per second). If the second element is not present, the API returns null.- Returns:
- unit
-
getUnit_JsonNullable
-
setUnit_JsonNullable
-
setUnit
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- ScalarMeta
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this ScalarMeta object is equal to o. -
hashCode
public int hashCode() -
toString
-