Class HistogramMetric

java.lang.Object
com.liferay.site.dsr.analytics.rest.dto.v1_0.HistogramMetric
All Implemented Interfaces:
Serializable

@Generated("") public class HistogramMetric extends Object implements Serializable
See Also:
Generated:
  • Field Details

    • key

      protected String key
    • value

      protected Double value
    • valueKey

      protected String valueKey
    • xClassName

      public String xClassName
  • Constructor Details

    • HistogramMetric

      public HistogramMetric()
  • Method Details

    • toDTO

      public static HistogramMetric toDTO(String json)
    • unsafeToDTO

      public static HistogramMetric unsafeToDTO(String json)
    • getKey

      public String getKey()
    • setKey

      public void setKey(String key)
    • setKey

      public void setKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> keyUnsafeSupplier)
    • getValue

      public Double getValue()
    • setValue

      public void setValue(Double value)
    • setValue

      public void setValue(com.liferay.petra.function.UnsafeSupplier<Double,Exception> valueUnsafeSupplier)
    • getValueKey

      public String getValueKey()
    • setValueKey

      public void setValueKey(String valueKey)
    • setValueKey

      public void setValueKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> valueKeyUnsafeSupplier)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object