com.bytebybyte.google.geocoding.service.response.Result Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-geocoding Show documentation
Show all versions of google-geocoding Show documentation
Java API for the Google geocoding service.
The newest version!
package com.bytebybyte.google.geocoding.service.response;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Result {
@JsonProperty("address_components")
protected AddressComponent[] addressComponents;
@JsonProperty("formatted_address")
protected String formattedAddress;
protected Geometry geometry;
protected Type[] types;
public Result() {
}
public AddressComponent[] getAddressComponents() {
return addressComponents;
}
public void setAddressComponents(AddressComponent[] addressComponents) {
this.addressComponents = addressComponents;
}
public String getFormattedAddress() {
return formattedAddress;
}
public void setFormattedAddress(String formattedAddress) {
this.formattedAddress = formattedAddress;
}
public Geometry getGeometry() {
return geometry;
}
public void setGeometry(Geometry geometry) {
this.geometry = geometry;
}
public Type[] getTypes() {
return types;
}
public void setTypes(Type[] types) {
this.types = types;
}
}