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