Class StatisticsGeometryValuesResponse

java.lang.Object
com.targomo.client.api.response.StatisticsGeometryValuesResponse

public class StatisticsGeometryValuesResponse extends Object
  • Constructor Details

    • StatisticsGeometryValuesResponse

      public StatisticsGeometryValuesResponse(TravelOptions travelOptions, org.json.JSONObject result, long requestStart)
      Parameters:
      travelOptions - Travel configuration
      result - Response body
      requestStart - Start time of request in milliseconds
    • StatisticsGeometryValuesResponse

      public StatisticsGeometryValuesResponse(TravelOptions travelOptions, String string, long roundTripTime, long requestStart)
      Parameters:
      travelOptions - Travel configuration
      string - Error message, if any
      roundTripTime - Total roundtrip time
      requestStart - Start time of request in milliseconds
  • Method Details

    • getRequestTimeMillis

      public long getRequestTimeMillis()
      Returns:
      the requestTimeMillis
    • getTotalTimeMillis

      public long getTotalTimeMillis()
      Returns:
      the totalTimeMillis
    • getTravelOptions

      public TravelOptions getTravelOptions()
      Returns:
      the travelOptions
    • getStatisticGeometryValuesResult

      public StatisticGeometryValuesResult getStatisticGeometryValuesResult()
      Returns:
      the statisticGeometryValueResult