Class MetricJson

java.lang.Object
com.eqixiac.equinix.fabric.model.json.MetricJson
All Implemented Interfaces:
Metric

public class MetricJson extends Object implements Metric

Read-only JSON model for a Fabric Metric. Implements the public Metric interface directly, so no wrapper is required.

Author:
ianjones
  • Constructor Details

    • MetricJson

      public MetricJson()
  • Method Details

    • getSummary

      public String getSummary()
      Description copied from interface: Metric

      A human-readable summary of the metric.

      Specified by:
      getSummary in interface Metric
    • getSummaryNode

      public com.fasterxml.jackson.databind.JsonNode getSummaryNode()
      Returns:
      the summary as returned, a text or object node, or null