public final class CityResponse extends AbstractCityResponse
This class provides a model for the data returned by the GeoIP2 Precision: City end point and the GeoIP2 City database.
The only difference between the City and Insights model classes is which fields in each record may be populated.
| Constructor and Description |
|---|
CityResponse(City city,
Continent continent,
Country country,
Location location,
MaxMind maxmind,
Postal postal,
Country registeredCountry,
RepresentedCountry representedCountry,
ArrayList<Subdivision> subdivisions,
Traits traits) |
getCity, getLeastSpecificSubdivision, getLocation, getMostSpecificSubdivision, getPostal, getSubdivisionsgetContinent, getCountry, getMaxMind, getRegisteredCountry, getRepresentedCountry, getTraitstoJson, toStringCopyright © 2016 MaxMind, Inc.. All Rights Reserved.