Class ASNResponse

java.lang.Object
io.ipinfo.api.model.ASNResponse

public class ASNResponse
extends Object
  • Constructor Details

  • Method Details

    • setContext

      public void setContext​(Context context)
      Set by the library for extra utility functions
      Parameters:
      context - for country information
    • getAsn

      public String getAsn()
    • getName

      public String getName()
    • getCountry

      public String getCountry()
    • getCountryCode

      public String getCountryCode()
    • getCountryName

      public String getCountryName()
    • getAllocated

      public String getAllocated()
    • getRegistry

      public String getRegistry()
    • getDomain

      public String getDomain()
    • getNumIps

      public Integer getNumIps()
    • getType

      public String getType()
    • getPrefixes

      public List<Prefix> getPrefixes()
    • getPrefixes6

      public List<Prefix> getPrefixes6()
    • getPeers

      public List<String> getPeers()
    • getUpstreams

      public List<String> getUpstreams()
    • getDownstreams

      public List<String> getDownstreams()
    • toString

      public String toString()
      Overrides:
      toString in class Object