class ImageMetadataOutput implements JsonTemplate {

  public String toJson() throws IOException {
    return JsonTemplateMapper.toUtf8String(this);
  }

  @JsonCreator  ImageMetadataOutput(
      @JsonProperty(value = "image", required = true) String image,
      @JsonProperty(value = "imageId", required = true) String imageId,
      @JsonProperty(value = "imageDigest", required = true) String imageDigest,
      @JsonProperty(value = "tags", required = true) List<String> tags);

}