File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/main/java/com/checkmarx/ast/results/result Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1313public class Result {
1414
1515 private final String type ;
16+ private final String scaType ;
1617 private final String label ;
1718 private final String id ;
1819 private final String similarityId ;
@@ -50,8 +51,10 @@ public Result(@JsonProperty("type") String type,
5051 @ JsonProperty ("descriptionHTML" ) String descriptionHTML ,
5152 @ JsonProperty ("data" ) Data data ,
5253 @ JsonProperty ("comments" ) Comments comments ,
53- @ JsonProperty ("vulnerabilityDetails" ) VulnerabilityDetails vulnerabilityDetails ) {
54+ @ JsonProperty ("vulnerabilityDetails" ) VulnerabilityDetails vulnerabilityDetails ,
55+ @ JsonProperty ("scaType" ) String scaType ) {
5456 this .type = type ;
57+ this .scaType =scaType ;
5558 this .label = label ;
5659 this .id = id ;
5760 this .similarityId = similarityId ;
Original file line number Diff line number Diff line change @@ -19,18 +19,21 @@ public class ScaPackageData {
1919 List <List <DependencyPath >> dependencyPaths ;
2020 boolean outdated ;
2121 boolean supportsQuickFix ;
22+ String typeOfDependency ;
2223
2324
2425 public ScaPackageData (@ JsonProperty ("Id" ) String id ,
2526 @ JsonProperty ("fixLink" ) String fixLink ,
2627 @ JsonProperty ("dependencyPaths" ) List <List <DependencyPath >> dependencyPaths ,
2728 @ JsonProperty ("outdated" ) boolean outdated ,
28- @ JsonProperty ("supportsQuickFix" ) boolean supportsQuickFix ) {
29+ @ JsonProperty ("supportsQuickFix" ) boolean supportsQuickFix ,
30+ @ JsonProperty ("typeOfDependency" ) String typeOfDependency ) {
2931
3032 Id = id ;
3133 this .fixLink = fixLink ;
3234 this .dependencyPaths = dependencyPaths ;
3335 this .outdated = outdated ;
3436 this .supportsQuickFix = supportsQuickFix ;
37+ this .typeOfDependency = typeOfDependency ;
3538 }
3639}
You can’t perform that action at this time.
0 commit comments