java.lang.Object
com.maxmind.geoip2.model.AbstractResponse
com.maxmind.geoip2.model.AbstractCountryResponse
com.maxmind.geoip2.model.AbstractCityResponse
com.maxmind.geoip2.model.InsightsResponse
This class provides a model for the data returned by the Insights web
service.
- See Also:
-
Constructor Summary
ConstructorDescriptionInsightsResponse
(City city, Continent continent, Country country, Location location, MaxMind maxmind, Postal postal, Country registeredCountry, RepresentedCountry representedCountry, List<Subdivision> subdivisions, Traits traits) Constructs an instance ofInsightsResponse
with the specified parameters. -
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
-
Constructor Details
-
InsightsResponse
public InsightsResponse(City city, Continent continent, Country country, Location location, MaxMind maxmind, Postal postal, Country registeredCountry, RepresentedCountry representedCountry, List<Subdivision> subdivisions, Traits traits) Constructs an instance ofInsightsResponse
with the specified parameters.- Parameters:
city
- citycontinent
- continentcountry
- countrylocation
- locationmaxmind
- maxmind record for the responsepostal
- postalregisteredCountry
- registered countryrepresentedCountry
- represented countrysubdivisions
- subdivisionstraits
- traits
-