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,
String domain,
String ipAddress,
boolean anonymousProxy,
boolean satelliteProvider,
String isp,
String organization,
String userType) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAutonomousSystemNumber() |
String |
getAutonomousSystemOrganization() |
String |
getDomain() |
String |
getIpAddress() |
String |
getIsp() |
String |
getOrganization() |
String |
getUserType() |
boolean |
isAnonymousProxy()
Deprecated.
Use our
GeoIP2
Anonymous IP database instead.
|
boolean |
isSatelliteProvider()
Deprecated.
Due to increased mobile usage, we have insufficient data to
maintain this field.
|
toJson, toString@Deprecated public boolean isAnonymousProxy()
public Integer getAutonomousSystemNumber()
public String getIsp()
public String getIpAddress()
@Deprecated public boolean isSatelliteProvider()
public String getAutonomousSystemOrganization()
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.
public String getOrganization()
public String getDomain()
Copyright © 2016 MaxMind, Inc.. All Rights Reserved.