summaryrefslogtreecommitdiffstats
path: root/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
blob: a24d01a5a32540a8d66882e579b25a3e9cec3fd5 (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 javax.validation.constraints.Size;
import java.util.List;

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;
    }

}