-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathScaPackageData.java
More file actions
45 lines (38 loc) · 1.67 KB
/
Copy pathScaPackageData.java
File metadata and controls
45 lines (38 loc) · 1.67 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
package com.checkmarx.ast.results.result;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Value;
import java.util.List;
@Value
@JsonDeserialize()
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class ScaPackageData {
String Id;
String fixLink;
List<List<DependencyPath>> dependencyPaths;
boolean outdated;
boolean supportsQuickFix;
String typeOfDependency;
boolean isDevelopmentDependency;
boolean isTestDependency;
public ScaPackageData(@JsonProperty("Id") String id,
@JsonProperty("fixLink") String fixLink,
@JsonProperty("dependencyPaths") List<List<DependencyPath>> dependencyPaths,
@JsonProperty("outdated") boolean outdated,
@JsonProperty("supportsQuickFix") boolean supportsQuickFix,
@JsonProperty("typeOfDependency") String typeOfDependency,
@JsonProperty("isDevelopmentDependency") boolean isDevelopmentDependency,
@JsonProperty("isTestDependency") boolean isTestDependency) {
Id = id;
this.fixLink = fixLink;
this.dependencyPaths = dependencyPaths;
this.outdated = outdated;
this.supportsQuickFix = supportsQuickFix;
this.typeOfDependency = typeOfDependency;
this.isDevelopmentDependency = isDevelopmentDependency;
this.isTestDependency = isTestDependency;
}
}