Class IPResponse

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

public class IPResponse
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
    • getIp

      public String getIp()
    • getHostname

      public String getHostname()
    • getAnycast

      public boolean getAnycast()
    • getCity

      public String getCity()
    • getRegion

      public String getRegion()
    • getCountryCode

      public String getCountryCode()
    • getCountryName

      public String getCountryName()
    • getLocation

      public String getLocation()
    • getLatitude

      public String getLatitude()
    • getLongitude

      public String getLongitude()
    • getOrg

      public String getOrg()
    • getPostal

      public String getPostal()
    • getTimezone

      public String getTimezone()
    • getAsn

      public ASN getAsn()
    • getCompany

      public Company getCompany()
    • getCarrier

      public Carrier getCarrier()
    • getPrivacy

      public Privacy getPrivacy()
    • getAbuse

      public Abuse getAbuse()
    • getDomains

      public Domains getDomains()
    • toString

      public String toString()
      Overrides:
      toString in class Object