Package com.maxmind.geoip2.model
Class InsightsResponse
- java.lang.Object
-
- com.maxmind.geoip2.model.AbstractResponse
-
- com.maxmind.geoip2.model.AbstractCountryResponse
-
- com.maxmind.geoip2.model.AbstractCityResponse
-
- com.maxmind.geoip2.model.InsightsResponse
-
public class InsightsResponse extends AbstractCityResponse
This class provides a model for the data returned by the GeoIP2 Precision: Insights end point.
The only difference between the City and Insights model classes is which fields in each record may be populated.
- See Also:
- GeoIP2 Web Services
-
-
Constructor Summary
Constructors Constructor Description InsightsResponse(City city, Continent continent, Country country, Location location, MaxMind maxmind, Postal postal, Country registeredCountry, RepresentedCountry representedCountry, List<Subdivision> subdivisions, Traits traits)
-
Method Summary
-
Methods inherited from class com.maxmind.geoip2.model.AbstractCityResponse
getCity, getLeastSpecificSubdivision, getLocation, getMostSpecificSubdivision, getPostal, getSubdivisions
-
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
-
-