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 Abuse
getAbuse()
boolean
getAnycast()
ASN
getAsn()
Carrier
getCarrier()
String
getCity()
Company
getCompany()
String
getCountryCode()
String
getCountryName()
Domains
getDomains()
String
getHostname()
String
getIp()
String
getLatitude()
String
getLocation()
String
getLongitude()
String
getOrg()
String
getPostal()
Privacy
getPrivacy()
String
getRegion()
String
getTimezone()
void
setContext(Context context)
Set by the library for extra utility functionsString
toString()
-
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
-