com.rapid7.container.analyzer.docker.model.json.FileSystemJson Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-image-analyzer Show documentation
Show all versions of docker-image-analyzer Show documentation
Extracts, parses, and analyzes Docker images into Java objects with JSON mappings.
/**
*
*/
package com.rapid7.container.analyzer.docker.model.json;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.StringJoiner;
public class FileSystemJson {
private String type;
private List layers;
@JsonProperty("type")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
@JsonProperty("diff_ids")
public List getLayers() {
return layers;
}
public void setLayers(List layers) {
this.layers = layers;
}
@Override
public String toString() {
return new StringJoiner(", ", FileSystemJson.class.getSimpleName() + "[", "]")
.add("Type=" + type)
.add("Layers=" + layers)
.toString();
}
}