com.what3words.javawrapper.response.Suggestion 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.
The newest version!
package com.what3words.javawrapper.response;
import java.io.Serializable;
public class Suggestion implements Serializable {
private String country;
private String nearestPlace;
private String words;
private Integer distanceToFocusKm;
private int rank;
private String language;
private String locale;
public Suggestion(String words, String nearestPlace, String country, Integer distanceToFocusKm, int rank, String language) {
this.words = words;
this.nearestPlace = nearestPlace;
this.country = country;
this.distanceToFocusKm = distanceToFocusKm;
this.rank = rank;
this.language = language;
}
public Suggestion(String words, String nearestPlace, String country, Integer distanceToFocusKm, int rank, String language, String locale) {
this.words = words;
this.nearestPlace = nearestPlace;
this.country = country;
this.distanceToFocusKm = distanceToFocusKm;
this.rank = rank;
this.language = language;
this.locale = locale;
}
public String getCountry() {
return country;
}
public String getNearestPlace() {
return nearestPlace;
}
public String getWords() {
return words;
}
public Integer getDistanceToFocusKm() {
return distanceToFocusKm;
}
public int getRank() {
return rank;
}
public String getLanguage() {
return language;
}
public String getLocale() {
return locale;
}
}