-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathPrivacy.java
More file actions
62 lines (53 loc) · 1.27 KB
/
Privacy.java
File metadata and controls
62 lines (53 loc) · 1.27 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package io.ipinfo.api.model;
public class Privacy {
private final boolean vpn;
private final boolean proxy;
private final boolean tor;
private final boolean relay;
private final boolean hosting;
private final String service;
public Privacy(
boolean vpn,
boolean proxy,
boolean tor,
boolean relay,
boolean hosting,
String service
) {
this.vpn = vpn;
this.proxy = proxy;
this.tor = tor;
this.relay = relay;
this.hosting = hosting;
this.service = service;
}
public boolean getVpn() {
return vpn;
}
public boolean getProxy() {
return proxy;
}
public boolean getTor() {
return tor;
}
public boolean getRelay() {
return relay;
}
public boolean getHosting() {
return hosting;
}
public String getService() {
return service;
}
@Override
public String toString() {
return "Privacy{" +
"vpn=" + vpn +
", proxy=" + proxy +
", tor=" + tor +
", relay=" + relay +
", hosting=" + hosting +
", service=" + service +
'}';
}
}