Package io.ipinfo.api.model
Class IPResponse
java.lang.Object
io.ipinfo.api.model.IPResponse
public class IPResponse extends Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description AbusegetAbuse()booleangetAnycast()ASNgetAsn()CarriergetCarrier()StringgetCity()CompanygetCompany()StringgetCountryCode()StringgetCountryName()DomainsgetDomains()StringgetHostname()StringgetIp()StringgetLatitude()StringgetLocation()StringgetLongitude()StringgetOrg()StringgetPostal()PrivacygetPrivacy()StringgetRegion()StringgetTimezone()voidsetContext(Context context)Set by the library for extra utility functionsStringtoString()
-
Constructor Details
-
IPResponse
-
-
Method Details
-
setContext
Set by the library for extra utility functions- Parameters:
context- for country information
-
getIp
-
getHostname
-
getAnycast
public boolean getAnycast() -
getCity
-
getRegion
-
getCountryCode
-
getCountryName
-
getLocation
-
getLatitude
-
getLongitude
-
getOrg
-
getPostal
-
getTimezone
-
getAsn
-
getCompany
-
getCarrier
-
getPrivacy
-
getAbuse
-
getDomains
-
toString
-