Interface PowerData

All Known Implementing Classes:
PowerDataJson

public interface PowerData
Current power consumption data for a single hierarchy node, wrapped in the payLoad/status envelope returned by the legacy /power/v1/current GET endpoint.
  • Method Details

    • getPayLoad

      PowerData.Payload getPayLoad()
      Returns:
      the power data payload, or null when the response carried no data
    • getStatus

      Status getStatus()
      Returns:
      the response status envelope