3737 * address for the system the code is running on. If the system is behind a
3838 * NAT, this may differ from the IP address locally assigned to it.
3939 * @param isAnonymous This is true if the IP address belongs to any sort of anonymous network.
40+ * This field is deprecated. Please use the anonymizer object from the
41+ * Insights response.
4042 * @param isAnonymousVpn This is true if the IP address belongs to an anonymous VPN system.
43+ * This field is deprecated. Please use the anonymizer object from the
44+ * Insights response.
4145 * @param isAnycast This is true if the IP address is an anycast address.
4246 * @param isHostingProvider This is true if the IP address belongs to a hosting provider.
47+ * This field is deprecated. Please use the anonymizer object from the
48+ * Insights response.
4349 * @param isLegitimateProxy This is true if the IP address belongs to a legitimate proxy.
4450 * @param isPublicProxy This is true if the IP address belongs to a public proxy.
51+ * This field is deprecated. Please use the anonymizer object from the
52+ * Insights response.
4553 * @param isResidentialProxy This is true if the IP address is on a suspected anonymizing network
4654 * and belongs to a residential ISP.
55+ * This field is deprecated. Please use the anonymizer object from the
56+ * Insights response.
4757 * @param isTorExitNode This is true if the IP address is a Tor exit node.
58+ * This field is deprecated. Please use the anonymizer object from the
59+ * Insights response.
60+ * @param ipRiskSnapshot The risk score associated with the IP address. This is a static score
61+ * ranging from 0.01 to 99 indicating the risk associated with the IP address.
62+ * This is only available from the Insights web service.
4863 * @param isp The name of the ISP associated with the IP address. This is only available from
4964 * the City Plus and Insights web services and the Enterprise database.
5065 * @param mobileCountryCode The <a href="https://en.wikipedia.org/wiki/Mobile_country_code">
@@ -94,10 +109,12 @@ public record Traits(
94109 @ MaxMindDbIpAddress
95110 InetAddress ipAddress ,
96111
112+ @ Deprecated (since = "5.0.0" , forRemoval = true )
97113 @ JsonProperty ("is_anonymous" )
98114 @ MaxMindDbParameter (name = "is_anonymous" , useDefault = true )
99115 boolean isAnonymous ,
100116
117+ @ Deprecated (since = "5.0.0" , forRemoval = true )
101118 @ JsonProperty ("is_anonymous_vpn" )
102119 @ MaxMindDbParameter (name = "is_anonymous_vpn" , useDefault = true )
103120 boolean isAnonymousVpn ,
@@ -106,6 +123,7 @@ public record Traits(
106123 @ MaxMindDbParameter (name = "is_anycast" , useDefault = true )
107124 boolean isAnycast ,
108125
126+ @ Deprecated (since = "5.0.0" , forRemoval = true )
109127 @ JsonProperty ("is_hosting_provider" )
110128 @ MaxMindDbParameter (name = "is_hosting_provider" , useDefault = true )
111129 boolean isHostingProvider ,
@@ -114,18 +132,25 @@ public record Traits(
114132 @ MaxMindDbParameter (name = "is_legitimate_proxy" , useDefault = true )
115133 boolean isLegitimateProxy ,
116134
135+ @ Deprecated (since = "5.0.0" , forRemoval = true )
117136 @ JsonProperty ("is_public_proxy" )
118137 @ MaxMindDbParameter (name = "is_public_proxy" , useDefault = true )
119138 boolean isPublicProxy ,
120139
140+ @ Deprecated (since = "5.0.0" , forRemoval = true )
121141 @ JsonProperty ("is_residential_proxy" )
122142 @ MaxMindDbParameter (name = "is_residential_proxy" , useDefault = true )
123143 boolean isResidentialProxy ,
124144
145+ @ Deprecated (since = "5.0.0" , forRemoval = true )
125146 @ JsonProperty ("is_tor_exit_node" )
126147 @ MaxMindDbParameter (name = "is_tor_exit_node" , useDefault = true )
127148 boolean isTorExitNode ,
128149
150+ @ JsonProperty ("ip_risk_snapshot" )
151+ @ MaxMindDbParameter (name = "ip_risk_snapshot" )
152+ Double ipRiskSnapshot ,
153+
129154 @ JsonProperty ("isp" )
130155 @ MaxMindDbParameter (name = "isp" )
131156 String isp ,
@@ -168,7 +193,7 @@ public Traits() {
168193 this (null , null , (ConnectionType ) null , null ,
169194 null , false , false , false , false ,
170195 false , false , false , false , null ,
171- null , null , null , null , null , null , null );
196+ null , null , null , null , null , null , null , null );
172197 }
173198
174199 /**
0 commit comments