Package com.targomo.client.api.response
Class PointOfInterestGravitationResponse
java.lang.Object
com.targomo.client.api.response.PointOfInterestGravitationResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionPointOfInterestGravitationResponse(TravelOptions travelOptions, org.json.JSONObject result, long requestStart) Create a response from JSON results, using given travel options -
Method Summary
Modifier and TypeMethodDescriptionvoidParse results in JSON to Poi Gravitation object.
-
Constructor Details
-
PointOfInterestGravitationResponse
public PointOfInterestGravitationResponse(TravelOptions travelOptions, org.json.JSONObject result, long requestStart) Create a response from JSON results, using given travel options- Parameters:
travelOptions- travel options, from the requestresult- Travel times in JSONrequestStart- Start time of execution
-
-
Method Details
-
parseResults
public void parseResults()Parse results in JSON to Poi Gravitation object.
-