Class IpRiskResponse


@Deprecated public class IpRiskResponse extends IpBaseResponse
Deprecated.
This database has been discontinued.
This class provides the GeoIP2 IP Risk model.
  • Constructor Details

    • IpRiskResponse

      public IpRiskResponse(String ipAddress, boolean isAnonymous, boolean isAnonymousVpn, boolean isHostingProvider, boolean isPublicProxy, boolean isResidentialProxy, boolean isTorExitNode, Network network, double ipRisk)
      Deprecated.
      Constructs an instance of IpRiskResponse.
      Parameters:
      ipAddress - the IP address being checked
      isAnonymous - whether the IP address belongs to any sort of anonymous network
      isAnonymousVpn - whether the IP address belongs to an anonymous VPN system
      isHostingProvider - whether the IP address belongs to a hosting provider
      isPublicProxy - whether the IP address belongs to a public proxy system
      isResidentialProxy - whether the IP address belongs to a residential proxy system
      isTorExitNode - whether the IP address is a Tor exit node
      network - the network associated with the record
      ipRisk - the IP risk of a model
    • IpRiskResponse

      public IpRiskResponse(String ipAddress, Boolean isAnonymous, Boolean isAnonymousVpn, Boolean isHostingProvider, Boolean isPublicProxy, Boolean isResidentialProxy, Boolean isTorExitNode, Network network, double ipRisk)
      Deprecated.
      Constructs an instance of IpRiskResponse.
      Parameters:
      ipAddress - the IP address being checked
      isAnonymous - whether the IP address belongs to any sort of anonymous network
      isAnonymousVpn - whether the IP address belongs to an anonymous VPN system
      isHostingProvider - whether the IP address belongs to a hosting provider
      isPublicProxy - whether the IP address belongs to a public proxy system
      isResidentialProxy - whether the IP address belongs to a residential proxy system
      isTorExitNode - whether the IP address is a Tor exit node
      network - the network associated with the record
      ipRisk - the IP risk of a model
    • IpRiskResponse

      public IpRiskResponse(IpRiskResponse response, String ipAddress, Network network)
      Deprecated.
      Constructs an instance of IpRiskResponse.
      Parameters:
      response - The IpRiskResponse object to copy.
      ipAddress - The IP address that the data in the model is for.
      network - The network associated with the record.
  • Method Details

    • getIpRisk

      public double getIpRisk()
      Deprecated.
      Returns:
      The IP risk of a model.