Package com.datadog.api.client.v2.model
Class BudgetAttributesCostsUnit
java.lang.Object
com.datadog.api.client.v2.model.BudgetAttributesCostsUnit
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class BudgetAttributesCostsUnit
extends Object
The unit used for all cost values in the response.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this BudgetAttributesCostsUnit object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The unit family (for example,currency).getId()The unique identifier for the unit.getName()The full name of the unit.The plural form of the unit name.The scale factor applied to raw cost values.The abbreviated unit name.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.scaleFactor(Double scaleFactor) voidvoidvoidvoidvoidsetScaleFactor(Double scaleFactor) voidsetShortName(String shortName) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FAMILY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PLURAL
- See Also:
-
JSON_PROPERTY_SCALE_FACTOR
- See Also:
-
JSON_PROPERTY_SHORT_NAME
- See Also:
-
-
Constructor Details
-
BudgetAttributesCostsUnit
public BudgetAttributesCostsUnit()
-
-
Method Details
-
family
-
getFamily
The unit family (for example,currency).- Returns:
- family
-
setFamily
-
id
-
getId
The unique identifier for the unit.- Returns:
- id
-
setId
-
name
-
getName
The full name of the unit.- Returns:
- name
-
setName
-
plural
-
getPlural
The plural form of the unit name.- Returns:
- plural
-
setPlural
-
scaleFactor
-
getScaleFactor
The scale factor applied to raw cost values.- Returns:
- scaleFactor
-
setScaleFactor
-
shortName
-
getShortName
The abbreviated unit name.- Returns:
- shortName
-
setShortName
-
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:
- BudgetAttributesCostsUnit
-
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 BudgetAttributesCostsUnit object is equal to o. -
hashCode
public int hashCode() -
toString
-