-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathResproxyResponse.java
More file actions
50 lines (42 loc) · 1.17 KB
/
ResproxyResponse.java
File metadata and controls
50 lines (42 loc) · 1.17 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
package io.ipinfo.api.model;
import com.google.gson.annotations.SerializedName;
public class ResproxyResponse {
private final String ip;
@SerializedName("last_seen")
private final String lastSeen;
@SerializedName("percent_days_seen")
private final Double percentDaysSeen;
private final String service;
public ResproxyResponse(
String ip,
String lastSeen,
Double percentDaysSeen,
String service
) {
this.ip = ip;
this.lastSeen = lastSeen;
this.percentDaysSeen = percentDaysSeen;
this.service = service;
}
public String getIp() {
return ip;
}
public String getLastSeen() {
return lastSeen;
}
public Double getPercentDaysSeen() {
return percentDaysSeen;
}
public String getService() {
return service;
}
@Override
public String toString() {
return "ResproxyResponse{" +
"ip='" + ip + '\'' +
", lastSeen='" + lastSeen + '\'' +
", percentDaysSeen=" + percentDaysSeen +
", service='" + service + '\'' +
'}';
}
}