Created
January 18, 2018 12:16
-
-
Save SyCode7/ec5c32da58a3648f2dc4f84411787c13 to your computer and use it in GitHub Desktop.
ScanReport
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package de.security.reports; | |
import java.io.Serializable; | |
import java.util.List; | |
import com.fasterxml.jackson.annotation.JsonInclude; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | |
@JsonInclude(JsonInclude.Include.NON_NULL) | |
@JsonPropertyOrder({ | |
"Registry", | |
"ImageName", | |
"Tag", | |
"Layers" | |
}) | |
public class ScanReport implements Serializable | |
{ | |
@JsonProperty("Registry") | |
private String registry; | |
@JsonProperty("ImageName") | |
private String imageName; | |
@JsonProperty("Tag") | |
private String tag; | |
@JsonProperty("Layers") | |
private List<Layers> layers = null; | |
private final static long serialVersionUID = 5137878186756658753L; | |
/** | |
* No args constructor for use in serialization | |
* | |
*/ | |
public ScanReport() { | |
} | |
/** | |
* | |
* @param imageName | |
* @param tag | |
* @param layers | |
* @param registry | |
*/ | |
public ScanReport(String registry, String imageName, String tag, List<Layers> layers) { | |
super(); | |
this.registry = registry; | |
this.imageName = imageName; | |
this.tag = tag; | |
this.layers = layers; | |
} | |
@JsonProperty("Registry") | |
public String getRegistry() { | |
return registry; | |
} | |
@JsonProperty("Registry") | |
public void setRegistry(String registry) { | |
this.registry = registry; | |
} | |
@JsonProperty("ImageName") | |
public String getImageName() { | |
return imageName; | |
} | |
@JsonProperty("ImageName") | |
public void setImageName(String imageName) { | |
this.imageName = imageName; | |
} | |
@JsonProperty("Tag") | |
public String getTag() { | |
return tag; | |
} | |
@JsonProperty("Tag") | |
public void setTag(String tag) { | |
this.tag = tag; | |
} | |
@JsonProperty("Layers") | |
public List<Layers> getLayers() { | |
return layers; | |
} | |
@JsonProperty("Layers") | |
public void setLayers(List<Layers> layers) { | |
this.layers = layers; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment