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, getSubdivisions
getContinent, getCountry, getMaxMind, getRegisteredCountry, getRepresentedCountry, getTraits
toJson, toString
Copyright © 2020 MaxMind, Inc.. All rights reserved.