Back to project page uber-android.
The source code is released under:
MIT License
If you think the Android project uber-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/* * UberAPILib/*from w w w. j a v a 2 s .c om*/ * * This file was automatically generated by APIMATIC BETA v2.0 on 08/22/2014 */ package io.apimatic.uberapilib.models; import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonSetter; public class LocationModel extends java.util.Observable { private String address; private double latitude; private double longitude; /** GETTER * The address in user readable form */ @JsonGetter("address") public String getAddress ( ) { return this.address; } /** SETTER * The address in user readable form */ @JsonSetter("address") public void setAddress (String value) { this.address = value; notifyObservers(this.address); } /** GETTER * Latitude component of location. */ @JsonGetter("latitude") public double getLatitude ( ) { return this.latitude; } /** SETTER * Latitude component of location. */ @JsonSetter("latitude") public void setLatitude (double value) { this.latitude = value; notifyObservers(this.latitude); } /** GETTER * Longitude component of location. */ @JsonGetter("longitude") public double getLongitude ( ) { return this.longitude; } /** SETTER * Longitude component of location. */ @JsonSetter("longitude") public void setLongitude (double value) { this.longitude = value; notifyObservers(this.longitude); } }