Add collaboration feature
[sdc.git] / openecomp-be / api / openecomp-sdc-rest-webapp / vendor-software-products-rest / vendor-software-products-rest-types / src / main / java / org / openecomp / sdcrests / vendorsoftwareproducts / types / DeploymentFlavorRequestDto.java
1 package org.openecomp.sdcrests.vendorsoftwareproducts.types;
2
3
4 import org.hibernate.validator.constraints.NotBlank;
5 import org.openecomp.sdc.vendorsoftwareproduct.types.composition.ComponentComputeAssociation;
6
7 import javax.validation.constraints.Size;
8 import java.util.List;
9
10 public class DeploymentFlavorRequestDto {
11     @NotBlank(message = "is mandatory and should not be empty")
12     @Size(min = 0, max = 30,message = "length should not exceed 30 characters.")
13     private String model;
14     @Size(min = 0, max = 300,message = "length should not exceed 300 characters.")
15     private String description;
16     private String featureGroupId;
17     private List<ComponentComputeAssociation> componentComputeAssociations;
18
19     public String getModel() {
20         return model;
21     }
22
23     public void setModel(String model) {
24         this.model = model;
25     }
26
27     public String getDescription() {
28         return description;
29     }
30
31     public void setDescription(String description) {
32         this.description = description;
33     }
34
35     public String getFeatureGroupId() {
36         return featureGroupId;
37     }
38
39     public void setFeatureGroupId(String featureGroupId) {
40         this.featureGroupId = featureGroupId;
41     }
42
43     public List<ComponentComputeAssociation> getComponentComputeAssociations() {
44         return componentComputeAssociations;
45     }
46
47     public void setComponentComputeAssociations(List<ComponentComputeAssociation> componentComputeAssociations) {
48         this.componentComputeAssociations = componentComputeAssociations;
49     }
50
51 }