package org.hoteia.qalingo.core.web.bean.geoloc.json; import java.io.Serializable; import java.util.List; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties(ignoreUnknown=true) public class GoogleGeoCodeAddressComponent implements Serializable { @JsonProperty("long_name") private String longName; @JsonProperty("short_name") private String shortName; @JsonProperty("types") private List<String> types; public String getLongName() { return longName; } public void setLongName(String longName) { this.longName = longName; } public String getShortName() { return shortName; } public void setShortName(String shortName) { this.shortName = shortName; } public List<String> getTypes() { return types; } public void setTypes(List<String> types) { this.types = types; } }