Package com.maxmind.geoip2.model
Class CountryResponse
- java.lang.Object
-
- com.maxmind.geoip2.model.AbstractResponse
-
- com.maxmind.geoip2.model.AbstractCountryResponse
-
- com.maxmind.geoip2.model.CountryResponse
-
public final class CountryResponse extends AbstractCountryResponse
This class provides a model for the data returned by the GeoIP2 Precision: Country end point.- See Also:
- GeoIP2 Web Services
-
-
Constructor Summary
Constructors Constructor Description CountryResponse(CountryResponse response, String ipAddress, Network network, List<String> locales)
CountryResponse(Continent continent, Country country, MaxMind maxmind, Country registeredCountry, RepresentedCountry representedCountry, Traits traits)
-
Method Summary
-
Methods inherited from class com.maxmind.geoip2.model.AbstractCountryResponse
getContinent, getCountry, getMaxMind, getRegisteredCountry, getRepresentedCountry, getTraits
-
Methods inherited from class com.maxmind.geoip2.model.AbstractResponse
toJson, toString
-
-
-
-
Constructor Detail
-
CountryResponse
public CountryResponse(Continent continent, Country country, MaxMind maxmind, Country registeredCountry, RepresentedCountry representedCountry, Traits traits)
-
CountryResponse
public CountryResponse(CountryResponse response, String ipAddress, Network network, List<String> locales)
-
-