1 package org.openecomp.sdcrests.vendorsoftwareproducts.types;
4 import org.hibernate.validator.constraints.NotBlank;
5 import org.openecomp.sdc.vendorsoftwareproduct.types.composition.ComponentComputeAssociation;
7 import javax.validation.constraints.Size;
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.")
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;
19 public String getModel() {
23 public void setModel(String model) {
27 public String getDescription() {
31 public void setDescription(String description) {
32 this.description = description;
35 public String getFeatureGroupId() {
36 return featureGroupId;
39 public void setFeatureGroupId(String featureGroupId) {
40 this.featureGroupId = featureGroupId;
43 public List<ComponentComputeAssociation> getComponentComputeAssociations() {
44 return componentComputeAssociations;
47 public void setComponentComputeAssociations(List<ComponentComputeAssociation> componentComputeAssociations) {
48 this.componentComputeAssociations = componentComputeAssociations;