package org.openecomp.sdcrests.vendorsoftwareproducts.types; import org.hibernate.validator.constraints.NotBlank; import javax.validation.constraints.NotNull; import javax.validation.constraints.Pattern; public class ImageRequestDto implements CompositionDataEntityDto { @NotBlank(message = "is mandatory and should not be empty") @Pattern(regexp = "^[a-zA-Z 0-9._-]*$", message = "must match \"^[a-zA-Z 0-9._-]*$\"") private String fileName; private String description; /*private String version; private String format; private String md5; //private String providedBy;*/ public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getFileName() { return fileName; } public void setFileName(String fileName) { this.fileName = fileName; } /*public String getMd5() { return md5; } public void setMd5(String md5) { this.md5 = md5; } public String getFormat() { return format; } public void setFormat(String format) { this.format = format; } public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } public String getFileName() { return fileName; } public void setFileName(String fileName) { this.fileName = fileName; } /*public String getProvidedBy() { return providedBy; } public void setProvidedBy(String providedBy) { this.providedBy = providedBy; }*/ }