-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVirustotalResponse.java
145 lines (137 loc) · 3.4 KB
/
VirustotalResponse.java
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
import java.time.Instant;
import java.util.Map;
public class VirustotalResponse {
private long responsecode;
private boolean message;
private String verbosemsg;
private String resource;
private String scanid;
private String md5;
private String sha1;
private String sha256;
private String scandate;
private String permalink;
private long positive;
private long total;
private float percent;
private Instant instant;
private Map avs;
public VirustotalResponse(long responsecode, boolean message, String verbosemsg, String resource,
String scanid, String md5, String sha1, String sha256, String scandate, String permalink, long positive,
long total, float percent, Instant instant, Map avs ) {
super();
this.responsecode = responsecode;
this.message = message;
this.verbosemsg = verbosemsg;
this.resource = resource;
this.scanid = scanid;
this.md5 = md5;
this.sha1 = sha1;
this.sha256 = sha256;
this.scandate = scandate;
this.permalink = permalink;
this.positive = positive;
this.total = total;
this.percent = percent;
this.instant = instant;
this.avs = avs;
}
public long getResponsecode() {
return responsecode;
}
public void setResponsecode(long responsecode) {
this.responsecode = responsecode;
}
public boolean getMessage() {
return message;
}
public void setMessage(boolean message) {
this.message = message;
}
public String getverbosemsg() {
return verbosemsg;
}
public void setverbosemsg(String verbosemsg) {
this.verbosemsg = verbosemsg;
}
public String resource() {
return resource;
}
public void setresource(String resource) {
this.resource = resource;
}
public String getscanid() {
return scanid;
}
public void setscanid(String scanid) {
this.scanid = scanid;
}
public String getmd5() {
return md5;
}
public void setmd5(String md5) {
this.md5 = md5;
}
public String getsha1() {
return sha1;
}
public void setsha1(String sha1) {
this.sha1 = sha1;
}
public String getsha256() {
return sha256;
}
public void setsha256(String sha256) {
this.sha256 = sha256;
}
public String getscandate() {
return scandate;
}
public void setscandate(String scandate) {
this.scandate = scandate;
}
public String getpl() {
return permalink;
}
public void setpl(String permalink) {
this.permalink = permalink;
}
public long getpos() {
return positive;
}
public void setpos(long positive) {
this.positive = positive;
}
public long gettotal() {
return total;
}
public void settotal(long total) {
this.total = total;
}
public float getperc() {
return percent;
}
public void setperc(float percent) {
this.percent = percent;
}
public Instant getinst() {
return instant;
}
public void setinst(Instant instant) {
this.instant = instant;
}
public Map getavs() {
return avs;
}
public void setavs(Map avs) {
this.avs = avs;
}
@Override
public String toString() {
return "VirustotalResponse [responsecode=" + responsecode + ", message=" + message
+ ", verbosemsg=" + verbosemsg + ", resource=" + resource + ", scanid=" + scanid + ", md5="
+ md5 + ", sha1=" + sha1 + ", sha256=" + sha256 + ", scandate=" + scandate + ", permalink=" + permalink
+ ", positive=" + positive + ", total=" + total + ", percent=" + percent + ", instant="
+ instant + ", avs=" + avs+ "]";
}
}