Package io.ipinfo.api.model
Class ASNResponse
java.lang.Object
io.ipinfo.api.model.ASNResponse
public class ASNResponse extends Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringgetAllocated()StringgetAsn()StringgetCountry()StringgetCountryCode()StringgetCountryName()StringgetDomain()List<String>getDownstreams()StringgetName()IntegergetNumIps()List<String>getPeers()List<Prefix>getPrefixes()List<Prefix>getPrefixes6()StringgetRegistry()StringgetType()List<String>getUpstreams()voidsetContext(Context context)Set by the library for extra utility functionsStringtoString()
-
Constructor Details
-
ASNResponse
-
-
Method Details
-
setContext
Set by the library for extra utility functions- Parameters:
context- for country information
-
getAsn
-
getName
-
getCountry
-
getCountryCode
-
getCountryName
-
getAllocated
-
getRegistry
-
getDomain
-
getNumIps
-
getType
-
getPrefixes
-
getPrefixes6
-
getPeers
-
getUpstreams
-
getDownstreams
-
toString
-