io.userinfo.client.model.Position Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of userinfo-java Show documentation
Show all versions of userinfo-java Show documentation
Java API wrapper for userinfo.io
The newest version!
package io.userinfo.client.model;
/**
* This class represents a position returned by the userinfo.io API.
*
* @author Vincent DURMONT [[email protected]]
*/
public class Position {
private Double latitude;
private Double longitude;
private Double accuracy;
public Double getLatitude() {
return latitude;
}
public void setLatitude(Double latitude) {
this.latitude = latitude;
}
public Double getLongitude() {
return longitude;
}
public void setLongitude(Double longitude) {
this.longitude = longitude;
}
public Double getAccuracy() {
return accuracy;
}
public void setAccuracy(Double accuracy) {
this.accuracy = accuracy;
}
@Override public String toString() {
return "Position{" +
"latitude=" + latitude +
", longitude=" + longitude +
", accuracy=" + accuracy +
'}';
}
}