Class RatioResult

java.lang.Object
org.heigit.ohsome.ohsomeapi.output.ratio.RatioResult
All Implemented Interfaces:
Result

public class RatioResult extends Object implements Result
Represents the result JSON object for the /ratio resource containing the timestamp together with two values and their resulting ratio.
  • Constructor Details

    • RatioResult

      public RatioResult(String timestamp, double value, double value2, double ratio)
  • Method Details

    • getTimestamp

      public String getTimestamp()
    • getValue

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

      public double getValue2()
    • getRatio

      public double getRatio()