Skip to content

Commit

Permalink
bugid: 210727 - OSA libraries not marshaled
Browse files Browse the repository at this point in the history
CR_by: n/a
  • Loading branch information
ilandn committed Jul 27, 2020
1 parent 8ded632 commit 390ac87
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions src/main/java/com/cx/restclient/osa/dto/Library.java
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
package com.cx.restclient.osa.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
* Created by zoharby on 09/01/2017.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class Library implements Serializable {

private String id;//:"36b32b00-9ee6-4e2f-85c9-3f03f26519a9",
private String name;//:"lib-name",
private String version;//:"lib-version",
@JsonProperty("highUniqueVulnerabilityCount")
private int highVulnerabilityCount;//:1,
@JsonProperty("mediumUniqueVulnerabilityCount")
private int mediumVulnerabilityCount;//:1,
@JsonProperty("lowUniqueVulnerabilityCount")
private int lowVulnerabilityCount;//:1,
private String newestVersion;//:"1.0.0",
private String newestVersionReleaseDate;//:"2016-12-19T10:16:19.1206743Z",
Expand All @@ -23,83 +24,83 @@ public class Library implements Serializable {


public String getId() {
return id;
return this.id;
}

public void setId(String id) {
this.id = id;
}

public String getName() {
return name;
return this.name;
}

public void setName(String name) {
this.name = name;
}

public String getVersion() {
return version;
return this.version;
}

public void setVersion(String version) {
this.version = version;
}

public int getHighVulnerabilityCount() {
return highVulnerabilityCount;
return this.highVulnerabilityCount;
}

public void setHighVulnerabilityCount(int highVulnerabilityCount) {
this.highVulnerabilityCount = highVulnerabilityCount;
}

public int getMediumVulnerabilityCount() {
return mediumVulnerabilityCount;
return this.mediumVulnerabilityCount;
}

public void setMediumVulnerabilityCount(int mediumVulnerabilityCount) {
this.mediumVulnerabilityCount = mediumVulnerabilityCount;
}

public int getLowVulnerabilityCount() {
return lowVulnerabilityCount;
return this.lowVulnerabilityCount;
}

public void setLowVulnerabilityCount(int lowVulnerabilityCount) {
this.lowVulnerabilityCount = lowVulnerabilityCount;
}

public String getNewestVersion() {
return newestVersion;
return this.newestVersion;
}

public void setNewestVersion(String newestVersion) {
this.newestVersion = newestVersion;
}

public String getNewestVersionReleaseDate() {
return newestVersionReleaseDate;
return this.newestVersionReleaseDate;
}

public void setNewestVersionReleaseDate(String newestVersionReleaseDate) {
this.newestVersionReleaseDate = newestVersionReleaseDate;
}

public int getNumberOfVersionsSinceLastUpdate() {
return numberOfVersionsSinceLastUpdate;
return this.numberOfVersionsSinceLastUpdate;
}

public void setNumberOfVersionsSinceLastUpdate(int numberOfVersionsSinceLastUpdate) {
this.numberOfVersionsSinceLastUpdate = numberOfVersionsSinceLastUpdate;
}

public int getConfidenceLevel() {
return confidenceLevel;
return this.confidenceLevel;
}

public void setConfidenceLevel(int confidenceLevel) {
this.confidenceLevel = confidenceLevel;
}

}
}

0 comments on commit 390ac87

Please sign in to comment.