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

@Generated("") public class Metric extends Object implements Cloneable, 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
  • Constructor Details

    • Metric

      public Metric()
  • Method Details

    • toDTO

      public static Metric toDTO(String json)
    • getMetricType

      public String getMetricType()
    • setMetricType

      public void setMetricType(String metricType)
    • setMetricType

      public void setMetricType(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<String,Exception> metricTypeUnsafeSupplier)
    • getPreviousValue

      public Double getPreviousValue()
    • setPreviousValue

      public void setPreviousValue(Double previousValue)
    • setPreviousValue

      public void setPreviousValue(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<Double,Exception> previousValueUnsafeSupplier)
    • getPreviousValueKey

      public String getPreviousValueKey()
    • setPreviousValueKey

      public void setPreviousValueKey(String previousValueKey)
    • setPreviousValueKey

      public void setPreviousValueKey(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<String,Exception> previousValueKeyUnsafeSupplier)
    • getTrend

      public Trend getTrend()
    • setTrend

      public void setTrend(Trend trend)
    • setTrend

      public void setTrend(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<Trend,Exception> trendUnsafeSupplier)
    • getValue

      public Double getValue()
    • setValue

      public void setValue(Double value)
    • setValue

      public void setValue(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<Double,Exception> valueUnsafeSupplier)
    • getValueKey

      public String getValueKey()
    • setValueKey

      public void setValueKey(String valueKey)
    • setValueKey

      public void setValueKey(com.liferay.analytics.reports.rest.client.function.UnsafeSupplier<String,Exception> valueKeyUnsafeSupplier)
    • clone

      public Metric clone() throws CloneNotSupportedException
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • 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