public final class IpAddress extends com.maxmind.geoip2.model.InsightsResponse implements IpAddressInterface
| Constructor and Description |
|---|
IpAddress() |
IpAddress(com.maxmind.geoip2.record.City city,
com.maxmind.geoip2.record.Continent continent,
GeoIp2Country country,
GeoIp2Location location,
com.maxmind.geoip2.record.MaxMind maxmind,
com.maxmind.geoip2.record.Postal postal,
com.maxmind.geoip2.record.Country registeredCountry,
com.maxmind.geoip2.record.RepresentedCountry representedCountry,
Double risk,
List<com.maxmind.geoip2.record.Subdivision> subdivisions,
com.maxmind.geoip2.record.Traits traits) |
| Modifier and Type | Method and Description |
|---|---|
GeoIp2Country |
getCountry() |
GeoIp2Location |
getLocation() |
Double |
getRisk() |
getCity, getLeastSpecificSubdivision, getMostSpecificSubdivision, getPostal, getSubdivisionspublic IpAddress(com.maxmind.geoip2.record.City city,
com.maxmind.geoip2.record.Continent continent,
GeoIp2Country country,
GeoIp2Location location,
com.maxmind.geoip2.record.MaxMind maxmind,
com.maxmind.geoip2.record.Postal postal,
com.maxmind.geoip2.record.Country registeredCountry,
com.maxmind.geoip2.record.RepresentedCountry representedCountry,
Double risk,
List<com.maxmind.geoip2.record.Subdivision> subdivisions,
com.maxmind.geoip2.record.Traits traits)
public IpAddress()
public GeoIp2Country getCountry()
getCountry in class com.maxmind.geoip2.model.AbstractCountryResponsepublic GeoIp2Location getLocation()
getLocation in class com.maxmind.geoip2.model.AbstractCityResponsepublic Double getRisk()
getRisk in interface IpAddressInterfaceCopyright © 2017 MaxMind, Inc.. All rights reserved.