1
1
package com .checkmarx .ast .results ;
2
2
3
+ import java .util .Map ;
4
+
3
5
import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
6
import com .fasterxml .jackson .annotation .JsonInclude ;
5
7
import com .fasterxml .jackson .annotation .JsonProperty ;
@@ -28,6 +30,10 @@ public class ResultsSummary {
28
30
private String createdAt ;
29
31
private String projectId ;
30
32
private String baseURI ;
33
+ private Map <String , String > tags ;
34
+ private String projectName ;
35
+ private String branchName ;
36
+ private String scanInfoMessage ;
31
37
32
38
33
39
public ResultsSummary (@ JsonProperty ("TotalIssues" ) int totalIssues ,
@@ -45,7 +51,11 @@ public ResultsSummary(@JsonProperty("TotalIssues") int totalIssues,
45
51
@ JsonProperty ("ScanTime" ) String scanTime ,
46
52
@ JsonProperty ("CreatedAt" ) String createdAt ,
47
53
@ JsonProperty ("ProjectID" ) String projectId ,
48
- @ JsonProperty ("BaseURI" ) String baseURI ) {
54
+ @ JsonProperty ("BaseURI" ) String baseURI ,
55
+ @ JsonProperty ("Tags" ) Map <String , String > tags ,
56
+ @ JsonProperty ("ProjectName" ) String projectName ,
57
+ @ JsonProperty ("BranchName" ) String branchName ,
58
+ @ JsonProperty ("ScanInfoMessage" ) String scanInfoMessage ) {
49
59
this .totalIssues = totalIssues ;
50
60
this .highIssues = highIssues ;
51
61
this .mediumIssues = mediumIssues ;
@@ -62,5 +72,9 @@ public ResultsSummary(@JsonProperty("TotalIssues") int totalIssues,
62
72
this .createdAt = createdAt ;
63
73
this .projectId = projectId ;
64
74
this .baseURI = baseURI ;
75
+ this .tags = tags ;
76
+ this .projectName = projectName ;
77
+ this .branchName = branchName ;
78
+ this .scanInfoMessage = scanInfoMessage ;
65
79
}
66
80
}
0 commit comments