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

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

    • metricType

      protected String metricType
    • previousValue

      protected Double previousValue
    • previousValueKey

      protected String previousValueKey
    • trend

      protected Trend trend
    • value

      protected Double value
    • valueKey

      protected String valueKey
    • xClassName

      public String xClassName
  • Constructor Details

    • Metric

      public Metric()
  • Method Details

    • toDTO

      public static Metric toDTO(String json)
    • unsafeToDTO

      public static Metric unsafeToDTO(String json)
    • getMetricType

      public String getMetricType()
    • setMetricType

      public void setMetricType(String metricType)
    • setMetricType

      public void setMetricType(com.liferay.petra.function.UnsafeSupplier<String,Exception> metricTypeUnsafeSupplier)
    • getPreviousValue

      public Double getPreviousValue()
    • setPreviousValue

      public void setPreviousValue(Double previousValue)
    • setPreviousValue

      public void setPreviousValue(com.liferay.petra.function.UnsafeSupplier<Double,Exception> previousValueUnsafeSupplier)
    • getPreviousValueKey

      public String getPreviousValueKey()
    • setPreviousValueKey

      public void setPreviousValueKey(String previousValueKey)
    • setPreviousValueKey

      public void setPreviousValueKey(com.liferay.petra.function.UnsafeSupplier<String,Exception> previousValueKeyUnsafeSupplier)
    • getTrend

      @Valid public @Valid Trend getTrend()
    • setTrend

      public void setTrend(Trend trend)
    • setTrend

      public void setTrend(com.liferay.petra.function.UnsafeSupplier<Trend,Exception> trendUnsafeSupplier)
    • 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