public class ProxyCheckSettings
extends java.lang.Object
Constructor and Description |
---|
ProxyCheckSettings() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApi_key()
Sets the APIKey for use within queries with https://proxycheck.io
|
int |
getMax_detection_days()
When the days flag is supplied we will restrict our proxy results to between now and the amount of days you specify.
|
int |
getRiskLevel()
Get the risk/strictness level || ACCEPTABLE VALUES [0,1,2]
|
java.lang.String |
getTag() |
java.lang.String |
getVer() |
boolean |
isCheck_asn() |
boolean |
isCheck_node() |
boolean |
isCheck_port()
Get if the API should tell you the active port the proxy is using
|
boolean |
isCheck_seen()
Get if the API should return the last time there was activity on the address
|
boolean |
isCheck_time()
Get if the API should tell you the time it took to query the address
|
boolean |
isCheck_vpn() |
void |
setApi_key(java.lang.String api_key) |
void |
setCheck_asn(boolean check_asn)
When the asn flag is supplied we will perform an ASN check on the IP Address and present you with the provider name, ASN, Continent, Country, Country ISOCode, Region, Region ISOCode, City (if it's in a city) and Lat/Long for the IP Address.
|
void |
setCheck_node(boolean check_node)
When the node flag is supplied we will display which node within our cluster answered your API call.
|
void |
setCheck_port(boolean check_port)
When the port flag is supplied we will display to you the port number we saw this IP Address operating a proxy server on.
|
void |
setCheck_seen(boolean check_seen)
When the seen flag is supplied we will display to you the most recent time we saw this IP Address operating as a proxy server.
|
void |
setCheck_time(boolean check_time)
When the time flag is supplied we will display how long this query took to be answered by our API excluding network overhead.
|
void |
setCheck_vpn(boolean check_vpn)
When the vpn flag is supplied we will perform a VPN check on the IP Address and present the result to you.
|
void |
setMax_detection_days(int max_detection_days) |
void |
setRiskLevel(int check_risk)
When the risk flag is set to 1 we will provide you with a risk score for this IP Address ranging from 0 to 100.
|
void |
setTag(java.lang.String set_tag)
When the tag flag is supplied we will tag your query with the message you supply.
|
void |
setVer(java.lang.String ver)
Override the API version selection you have set in the customer dashboard with a different version.
|
public java.lang.String getApi_key()
public void setApi_key(java.lang.String api_key)
api_key
- String - APIKey for https://proxycheck.iopublic boolean isCheck_vpn()
public void setCheck_vpn(boolean check_vpn)
check_vpn
- boolean - Should VPNChecks run?public boolean isCheck_asn()
public void setCheck_asn(boolean check_asn)
check_asn
- boolean - should ASN be queried?public boolean isCheck_node()
public void setCheck_node(boolean check_node)
check_node
- boolean - Should node be queried?public boolean isCheck_time()
public void setCheck_time(boolean check_time)
check_time
- boolean - should the time flag be enabledpublic int getRiskLevel()
public void setRiskLevel(int check_risk)
check_risk
- the risk/strictness levelpublic boolean isCheck_port()
public void setCheck_port(boolean check_port)
check_port
- boolean - should the port flag be enabled?public boolean isCheck_seen()
public void setCheck_seen(boolean check_seen)
check_seen
- boolean - should the seen flag be enabled?public int getMax_detection_days()
public void setMax_detection_days(int max_detection_days)
max_detection_days
- int - days to restrict results to?public java.lang.String getTag()
public void setTag(java.lang.String set_tag)
set_tag
- String - tag to add along queries for easier identification.public void setVer(java.lang.String ver)
ver
- apiVersion to use?public java.lang.String getVer()