4386245342011073cc831961b1adbc50321983d6
[sdc.git] /
1 package org.openecomp.sdcrests.vendorsoftwareproducts.types;
2
3 import org.hibernate.validator.constraints.NotBlank;
4
5 import javax.validation.constraints.NotNull;
6 import javax.validation.constraints.Pattern;
7
8 public class ImageRequestDto implements CompositionDataEntityDto {
9
10   @NotBlank(message = "is mandatory and should not be empty")
11   private String fileName;
12   private String description;
13   /*private String version;
14   private String format;
15   private String md5;
16   //private String providedBy;*/
17
18   public String getDescription() {
19     return description;
20   }
21
22   public void setDescription(String description) {
23     this.description = description;
24   }
25
26    public String getFileName() {
27     return fileName;
28   }
29
30   public void setFileName(String fileName) {
31     this.fileName = fileName;
32   }
33
34   /*public String getMd5() {
35     return md5;
36   }
37
38   public void setMd5(String md5) {
39     this.md5 = md5;
40   }
41
42   public String getFormat() {
43     return format;
44   }
45
46   public void setFormat(String format) {
47     this.format = format;
48   }
49
50   public String getVersion() {
51     return version;
52   }
53
54   public void setVersion(String version) {
55     this.version = version;
56   }
57
58   public String getFileName() {
59     return fileName;
60   }
61
62   public void setFileName(String fileName) {
63     this.fileName = fileName;
64   }
65
66   /*public String getProvidedBy() {
67     return providedBy;
68   }
69
70   public void setProvidedBy(String providedBy) {
71     this.providedBy = providedBy;
72   }*/
73
74 }