Created
May 23, 2013 06:52
-
-
Save taywils/5633170 to your computer and use it in GitHub Desktop.
Place Class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Represents a single Result of a places API call | |
* https://developers.google.com/places/documentation/search | |
* This class was mostly auto-generated by IntelliJ IDEA | |
*/ | |
private class Place { | |
public String vicinity; | |
public float[] geometry; //array(0 => lat, 1 => lng) | |
public String id; | |
public String name; | |
public float rating; | |
public String reference; | |
public String[] types; | |
public String getVicinity() { | |
return vicinity; | |
} | |
public void setVicinity(String vicinity) { | |
this.vicinity = vicinity; | |
} | |
public float[] getGeometry() { | |
return geometry; | |
} | |
public void setGeometry(float[] geometry) { | |
this.geometry = geometry; | |
} | |
public String getId() { | |
return id; | |
} | |
public void setId(String id) { | |
this.id = id; | |
} | |
public String getName() { | |
return name; | |
} | |
public void setName(String name) { | |
this.name = name; | |
} | |
public float getRating() { | |
return rating; | |
} | |
public void setRating(float rating) { | |
this.rating = rating; | |
} | |
public String getReference() { | |
return reference; | |
} | |
public void setReference(String reference) { | |
this.reference = reference; | |
} | |
public String[] getTypes() { | |
return types; | |
} | |
public void setTypes(String[] types) { | |
this.types = types; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment