public final class Traits extends AbstractRecord
Contains data for the traits record associated with an IP address.
This record is returned by all the end points.
Constructor and Description |
---|
Traits() |
Traits(Integer autonomousSystemNumber,
String autonomousSystemOrganization,
ConnectionTypeResponse.ConnectionType connectionType,
String domain,
String ipAddress,
boolean isAnonymous,
boolean isAnonymousProxy,
boolean isAnonymousVpn,
boolean isHostingProvider,
boolean isLegitimateProxy,
boolean isPublicProxy,
boolean isSatelliteProvider,
boolean isTorExitNode,
String isp,
Network network,
String organization,
String userType,
Integer userCount,
Double staticIpScore) |
Traits(Integer autonomousSystemNumber,
String autonomousSystemOrganization,
ConnectionTypeResponse.ConnectionType connectionType,
String domain,
String ipAddress,
boolean isAnonymous,
boolean isAnonymousProxy,
boolean isAnonymousVpn,
boolean isHostingProvider,
boolean isLegitimateProxy,
boolean isPublicProxy,
boolean isSatelliteProvider,
boolean isTorExitNode,
String isp,
String organization,
String userType) |
Traits(Integer autonomousSystemNumber,
String autonomousSystemOrganization,
ConnectionTypeResponse.ConnectionType connectionType,
String domain,
String ipAddress,
boolean isAnonymousProxy,
boolean isLegitimateProxy,
boolean isSatelliteProvider,
String isp,
String organization,
String userType) |
Traits(Integer autonomousSystemNumber,
String autonomousSystemOrganization,
String domain,
String ipAddress,
boolean isAnonymousProxy,
boolean isSatelliteProvider,
String isp,
String organization,
String userType) |
Traits(String ipAddress) |
Traits(String ipAddress,
Network network) |
Modifier and Type | Method and Description |
---|---|
Integer |
getAutonomousSystemNumber() |
String |
getAutonomousSystemOrganization() |
ConnectionTypeResponse.ConnectionType |
getConnectionType() |
String |
getDomain() |
String |
getIpAddress() |
String |
getIsp() |
Network |
getNetwork() |
String |
getOrganization() |
Double |
getStaticIpScore() |
Integer |
getUserCount() |
String |
getUserType() |
boolean |
isAnonymous() |
boolean |
isAnonymousProxy()
Deprecated.
Use our
GeoIP2
Anonymous IP database instead.
|
boolean |
isAnonymousVpn() |
boolean |
isHostingProvider() |
boolean |
isLegitimateProxy() |
boolean |
isPublicProxy() |
boolean |
isSatelliteProvider()
Deprecated.
Due to increased mobile usage, we have insufficient data to
maintain this field.
|
boolean |
isTorExitNode() |
toJson, toString
public Traits()
public Traits(String ipAddress)
public Traits(Integer autonomousSystemNumber, String autonomousSystemOrganization, String domain, String ipAddress, boolean isAnonymousProxy, boolean isSatelliteProvider, String isp, String organization, String userType)
public Traits(Integer autonomousSystemNumber, String autonomousSystemOrganization, ConnectionTypeResponse.ConnectionType connectionType, String domain, String ipAddress, boolean isAnonymousProxy, boolean isLegitimateProxy, boolean isSatelliteProvider, String isp, String organization, String userType)
public Traits(Integer autonomousSystemNumber, String autonomousSystemOrganization, ConnectionTypeResponse.ConnectionType connectionType, String domain, String ipAddress, boolean isAnonymous, boolean isAnonymousProxy, boolean isAnonymousVpn, boolean isHostingProvider, boolean isLegitimateProxy, boolean isPublicProxy, boolean isSatelliteProvider, boolean isTorExitNode, String isp, String organization, String userType)
public Traits(Integer autonomousSystemNumber, String autonomousSystemOrganization, ConnectionTypeResponse.ConnectionType connectionType, String domain, String ipAddress, boolean isAnonymous, boolean isAnonymousProxy, boolean isAnonymousVpn, boolean isHostingProvider, boolean isLegitimateProxy, boolean isPublicProxy, boolean isSatelliteProvider, boolean isTorExitNode, String isp, Network network, String organization, String userType, Integer userCount, Double staticIpScore)
public Integer getAutonomousSystemNumber()
public String getAutonomousSystemOrganization()
public ConnectionTypeResponse.ConnectionType getConnectionType()
public Double getStaticIpScore()
public Integer getUserCount()
public String getDomain()
public String getIpAddress()
public String getIsp()
public boolean isAnonymous()
@Deprecated public boolean isAnonymousProxy()
public boolean isAnonymousVpn()
public boolean isHostingProvider()
public boolean isLegitimateProxy()
public boolean isPublicProxy()
@Deprecated public boolean isSatelliteProvider()
public boolean isTorExitNode()
public Network getNetwork()
public String getOrganization()
public String getUserType()
The user type associated with the IP address. This can be one of the following values:
This attribute is only available from the Insights end point and the GeoIP2 Enterprise database.
Copyright © 2020 MaxMind, Inc.. All rights reserved.