Class PerformanceMetric

java.lang.Object
com.liferay.analytics.cms.rest.dto.v1_0.PerformanceMetric
All Implemented Interfaces:
Serializable

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

    • metricType

      protected String metricType
    • metrics

      protected Metric[] metrics
    • xClassName

      public String xClassName
  • Constructor Details

    • PerformanceMetric

      public PerformanceMetric()
  • Method Details

    • toDTO

      public static PerformanceMetric toDTO(String json)
    • unsafeToDTO

      public static PerformanceMetric 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)
    • getMetrics

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

      public void setMetrics(Metric[] metrics)
    • setMetrics

      public void setMetrics(com.liferay.petra.function.UnsafeSupplier<Metric[],Exception> metricsUnsafeSupplier)
    • 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