Class DecimalPlaces

java.lang.Object
com.influxdb.client.domain.DecimalPlaces

public class DecimalPlaces extends Object
Indicates whether decimal places should be enforced, and how many digits it should show.
  • Field Details

  • Constructor Details

    • DecimalPlaces

      public DecimalPlaces()
  • Method Details

    • isEnforced

      public DecimalPlaces isEnforced(Boolean isEnforced)
    • getIsEnforced

      public Boolean getIsEnforced()
      Indicates whether decimal point setting should be enforced
      Returns:
      isEnforced
    • setIsEnforced

      public void setIsEnforced(Boolean isEnforced)
    • digits

      public DecimalPlaces digits(Integer digits)
    • getDigits

      public Integer getDigits()
      The number of digits after decimal to display
      Returns:
      digits
    • setDigits

      public void setDigits(Integer digits)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object