java.lang.Object
com.liferay.analytics.reports.rest.dto.v1_0.Histogram
All Implemented Interfaces:
Serializable

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

    • metricName

      protected String metricName
    • metrics

      protected Metric[] metrics
    • total

      protected Double total
    • totalValue

      protected Double totalValue
    • xClassName

      public String xClassName
  • Constructor Details

    • Histogram

      public Histogram()
  • Method Details

    • toDTO

      public static Histogram toDTO(String json)
    • unsafeToDTO

      public static Histogram unsafeToDTO(String json)
    • getMetricName

      public String getMetricName()
    • setMetricName

      public void setMetricName(String metricName)
    • setMetricName

      public void setMetricName(com.liferay.petra.function.UnsafeSupplier<String,Exception> metricNameUnsafeSupplier)
    • getMetrics

      @Valid public @Valid Metric[] getMetrics()
    • setMetrics

      public void setMetrics(Metric[] metrics)
    • setMetrics

      public void setMetrics(com.liferay.petra.function.UnsafeSupplier<Metric[],Exception> metricsUnsafeSupplier)
    • getTotal

      public Double getTotal()
    • setTotal

      public void setTotal(Double total)
    • setTotal

      public void setTotal(com.liferay.petra.function.UnsafeSupplier<Double,Exception> totalUnsafeSupplier)
    • getTotalValue

      public Double getTotalValue()
    • setTotalValue

      public void setTotalValue(Double totalValue)
    • setTotalValue

      public void setTotalValue(com.liferay.petra.function.UnsafeSupplier<Double,Exception> totalValueUnsafeSupplier)
    • 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