com.what3words.javawrapper.response.ConvertTo3WA Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of w3w-java-wrapper Show documentation
Show all versions of w3w-java-wrapper Show documentation
Java library for what3words REST API.
package com.what3words.javawrapper.response;
import com.google.gson.GsonBuilder;
public class ConvertTo3WA extends Response {
private String country;
private Square square;
private String nearestPlace;
private Coordinates coordinates;
private String words;
private String language;
private String map;
public String getCountry() {
return country;
}
public Square getSquare() {
return square;
}
public String getNearestPlace() {
return nearestPlace;
}
public Coordinates getCoordinates() {
return coordinates;
}
public String getWords() {
return words;
}
public String getLanguage() {
return language;
}
public String getMap() {
return map;
}
public String toString() {
return new GsonBuilder().setPrettyPrinting().create().toJson(this);
}
}