-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathAnonymous.java
More file actions
46 lines (39 loc) · 998 Bytes
/
Anonymous.java
File metadata and controls
46 lines (39 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package io.ipinfo.api.model;
public class Anonymous {
private final Boolean is_proxy;
private final Boolean is_relay;
private final Boolean is_tor;
private final Boolean is_vpn;
public Anonymous(
Boolean is_proxy,
Boolean is_relay,
Boolean is_tor,
Boolean is_vpn
) {
this.is_proxy = is_proxy;
this.is_relay = is_relay;
this.is_tor = is_tor;
this.is_vpn = is_vpn;
}
public Boolean getIsProxy() {
return is_proxy;
}
public Boolean getIsRelay() {
return is_relay;
}
public Boolean getIsTor() {
return is_tor;
}
public Boolean getIsVpn() {
return is_vpn;
}
@Override
public String toString() {
return "Anonymous{" +
"is_proxy=" + is_proxy +
", is_relay=" + is_relay +
", is_tor=" + is_tor +
", is_vpn=" + is_vpn +
'}';
}
}