Package com.datadog.api.client.v1.model
Class SLOHistoryMetricsSeriesMetadataUnit
java.lang.Object
com.datadog.api.client.v1.model.SLOHistoryMetricsSeriesMetadataUnit
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SLOHistoryMetricsSeriesMetadataUnit
extends Object
An Object of metric units.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SLOHistoryMetricsSeriesMetadataUnit object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The family of metric unit, for examplebytesis the family forkibibyte,byte, andbitunits.getId()The ID of the metric unit.getName()The unit of the metric, for instancebyte.The plural Unit of metric, for instancebytes.org.openapitools.jackson.nullable.JsonNullable<String>The scale factor of metric unit, for instance1.0.A shorter and abbreviated version of the metric unit, for instanceB.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.scaleFactor(Double scaleFactor) voidvoidvoidvoidvoidsetPlural_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> plural) voidsetScaleFactor(Double scaleFactor) voidsetShortName(String shortName) voidsetShortName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<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
-
SLOHistoryMetricsSeriesMetadataUnit
public SLOHistoryMetricsSeriesMetadataUnit()
-
-
Method Details
-
family
-
getFamily
The family of metric unit, for examplebytesis the family forkibibyte,byte, andbitunits.- Returns:
- family
-
setFamily
-
id
-
getId
The ID of the metric unit.- Returns:
- id
-
setId
-
name
-
getName
The unit of the metric, for instancebyte.- Returns:
- name
-
setName
-
plural
-
getPlural
The plural Unit of metric, for instancebytes.- Returns:
- plural
-
getPlural_JsonNullable
-
setPlural_JsonNullable
-
setPlural
-
scaleFactor
-
getScaleFactor
The scale factor of metric unit, for instance1.0.- Returns:
- scaleFactor
-
setScaleFactor
-
shortName
-
getShortName
A shorter and abbreviated version of the metric unit, for instanceB.- Returns:
- shortName
-
getShortName_JsonNullable
-
setShortName_JsonNullable
public void setShortName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> 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:
- SLOHistoryMetricsSeriesMetadataUnit
-
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 SLOHistoryMetricsSeriesMetadataUnit object is equal to o. -
hashCode
public int hashCode() -
toString
-