Class ElementsResult

java.lang.Object
org.heigit.ohsome.ohsomeapi.output.elements.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 Details

    • ElementsResult

      public ElementsResult(String timestamp, double value)
  • Method Details

    • getTimestamp

      public String getTimestamp()
    • getValue

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