Package com.maxmind.geoip2.model
Class CityResponse
java.lang.Object
com.maxmind.geoip2.model.AbstractResponse
com.maxmind.geoip2.model.AbstractCountryResponse
com.maxmind.geoip2.model.AbstractCityResponse
com.maxmind.geoip2.model.CityResponse
This class provides a model for the data returned by the City Plus web
service and the City database.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCityResponse(CityResponse response, String ipAddress, Network network, List<String> locales) CityResponse(City city, Continent continent, Country country, Location location, MaxMind maxmind, Postal postal, Country registeredCountry, RepresentedCountry representedCountry, ArrayList<Subdivision> subdivisions, Traits traits) -
Method Summary
Methods inherited from class com.maxmind.geoip2.model.AbstractCityResponse
getCity, getLeastSpecificSubdivision, getLocation, getMostSpecificSubdivision, getPostal, getSubdivisionsMethods inherited from class com.maxmind.geoip2.model.AbstractCountryResponse
getContinent, getCountry, getMaxMind, getRegisteredCountry, getRepresentedCountry, getTraitsMethods inherited from class com.maxmind.geoip2.model.AbstractResponse
toJson, toString
-
Constructor Details
-
CityResponse
-
CityResponse
-