Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Routes<J extends JsonElement> {
- @SerializedName("bounds")
- @Expose
- private Bounds bounds;
- @SerializedName("copyrights")
- @Expose
- private String copyrights;
- @SerializedName("legs")
- @Expose
- private List<Legs> legs;
- @SerializedName("overview_polyline")
- @Expose
- private Overview_polyline overview_polyline;
- @SerializedName("summary")
- @Expose
- private String summary;
- @SerializedName("warnings")
- @Expose
- private List<String> warnings;
- @SerializedName("waypoint_order")
- @Expose
- private List<String> waypoint_order;
- public Routes(Bounds bounds,
- String copyrights,
- List<Legs> legs,
- Overview_polyline overview_polyline,
- String summary,
- List<String> warnings,
- List<String> waypoint_order) {
- this.bounds = bounds;
- this.copyrights = copyrights;
- this.legs = legs;
- this.overview_polyline = overview_polyline;
- this.summary = summary;
- this.warnings = warnings;
- this.waypoint_order = waypoint_order;
- }
- public Bounds getBounds() {
- return bounds;
- }
- public String getCopyrights() {
- return copyrights;
- }
- public List<Legs> getLegs() {
- return legs;
- }
- public Overview_polyline getOverview_polyline() {
- return overview_polyline;
- }
- public String getSummary() {
- return summary;
- }
- public List<String> getWarnings() {
- return warnings;
- }
- public List<String> getWaypoint_order() {
- return waypoint_order;
- }
- @Override
- public String toString() {
- return "Routes{" +
- "bounds=" + bounds +
- ", copyrights='" + copyrights + '\n' +
- ", legs=" + legs +
- ", overview_polyline=" + overview_polyline +
- ", summary='" + summary + '\n' +
- ", warnings=" + warnings +
- ", waypoint_order=" + waypoint_order +
- '}';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement