added parsing of directions response

This commit is contained in:
Sem van der Hoeven
2021-01-04 11:42:34 +01:00
parent 1ca13e3a6b
commit d433565fef
7 changed files with 153 additions and 15 deletions

View File

@@ -0,0 +1,40 @@
package com.a1.nextlocation.json;
public class DirectionsStep {
private double distance;
private double duration;
private String instruction;
private String name;
public double getDistance() {
return distance;
}
public void setDistance(double distance) {
this.distance = distance;
}
public double getDuration() {
return duration;
}
public void setDuration(double duration) {
this.duration = duration;
}
public String getInstruction() {
return instruction;
}
public void setInstruction(String instruction) {
this.instruction = instruction;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}