Class IPResponse
java.lang.Object
io.ipinfo.api.model.IPResponse
-
Constructor Summary
ConstructorsConstructorDescriptionIPResponse(String ip, boolean bogon) IPResponse(String ip, String hostname, boolean bogon, boolean anycast, boolean is_anycast, String city, String region, String country, String loc, String org, String postal, String timezone, ASN asn, Company company, Carrier carrier, Privacy privacy, Abuse abuse, Domains domains) -
Method Summary
-
Constructor Details
-
IPResponse
-
IPResponse
-
-
Method Details
-
setContext
Set by the library for extra utility functions- Parameters:
context- for country information
-
getIp
-
getHostname
-
getBogon
public boolean getBogon() -
getAnycast
public boolean getAnycast() -
getCity
-
getRegion
-
getCountryCode
-
getCountryName
-
isEU
-
getCountryFlag
-
getCountryFlagURL
-
getCountryCurrency
-
getContinent
-
getLocation
-
getLatitude
-
getLongitude
-
getOrg
-
getPostal
-
getTimezone
-
getAsn
-
getCompany
-
getCarrier
-
getPrivacy
-
getAbuse
-
getDomains
-
toString
-