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.
| Constructor and Description |
|---|
InsightsResponse(City city,
Continent continent,
Country country,
Location location,
MaxMind maxmind,
Postal postal,
Country registeredCountry,
RepresentedCountry representedCountry,
List<Subdivision> subdivisions,
Traits traits) |
getCity, getLeastSpecificSubdivision, getLocation, getMostSpecificSubdivision, getPostal, getSubdivisionsgetContinent, getCountry, getMaxMind, getRegisteredCountry, getRepresentedCountry, getTraitstoJson, toStringCopyright © 2016 MaxMind, Inc.. All Rights Reserved.