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 Details

  • Constructor Details

    • SLOHistoryMetricsSeriesMetadataUnit

      public SLOHistoryMetricsSeriesMetadataUnit()
  • Method Details

    • family

    • getFamily

      @Nullable public String getFamily()
      The family of metric unit, for example bytes is the family for kibibyte , byte, and bit units.
      Returns:
      family
    • setFamily

      public void setFamily(String family)
    • id

    • getId

      @Nullable public Long getId()
      The ID of the metric unit.
      Returns:
      id
    • setId

      public void setId(Long id)
    • name

    • getName

      @Nullable public String getName()
      The unit of the metric, for instance byte.
      Returns:
      name
    • setName

      public void setName(String name)
    • plural

    • getPlural

      @Nullable public String getPlural()
      The plural Unit of metric, for instance bytes.
      Returns:
      plural
    • getPlural_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getPlural_JsonNullable()
    • setPlural_JsonNullable

      public void setPlural_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> plural)
    • setPlural

      public void setPlural(String plural)
    • scaleFactor

      public SLOHistoryMetricsSeriesMetadataUnit scaleFactor(Double scaleFactor)
    • getScaleFactor

      @Nullable public Double getScaleFactor()
      The scale factor of metric unit, for instance 1.0.
      Returns:
      scaleFactor
    • setScaleFactor

      public void setScaleFactor(Double scaleFactor)
    • shortName

      public SLOHistoryMetricsSeriesMetadataUnit shortName(String shortName)
    • getShortName

      @Nullable public String getShortName()
      A shorter and abbreviated version of the metric unit, for instance B.
      Returns:
      shortName
    • getShortName_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getShortName_JsonNullable()
    • setShortName_JsonNullable

      public void setShortName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> shortName)
    • setShortName

      public void setShortName(String shortName)
    • putAdditionalProperty

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