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 String
getAllocated()
String
getAsn()
String
getCountry()
String
getCountryCode()
String
getCountryName()
String
getDomain()
List<String>
getDownstreams()
String
getName()
Integer
getNumIps()
List<String>
getPeers()
List<Prefix>
getPrefixes()
List<Prefix>
getPrefixes6()
String
getRegistry()
String
getType()
List<String>
getUpstreams()
void
setContext(Context context)
Set by the library for extra utility functionsString
toString()
-
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
-