Class ElementsResult

  • All Implemented Interfaces:
    Result

    public class ElementsResult
    extends Object
    implements Result
    Represents the result JSON object for most of the /elements resources containing the timestamp together with the corresponding value.
    • Constructor Detail

      • ElementsResult

        public ElementsResult​(String timestamp,
                              double value)
    • Method Detail

      • getTimestamp

        public String getTimestamp()
      • getValue

        public double getValue()
        Specified by:
        getValue in interface Result