625cc721a95d7097b3482ddf686f8ef04ae11aad
[sdc.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20 package org.openecomp.sdcrests.vendorlicense.types;
21
22 import io.swagger.v3.oas.annotations.media.Schema;
23 import javax.validation.constraints.NotNull;
24 import javax.validation.constraints.Size;
25
26 @Schema(description = "VendorLicenseModelRequest")
27 public class VendorLicenseModelRequestDto {
28
29     @NotNull
30     @Size(max = 25)
31     private String vendorName;
32     @NotNull
33     @Size(max = 1000)
34     private String description;
35     @NotNull
36     private String iconRef;
37
38     public String getVendorName() {
39         return vendorName;
40     }
41
42     public void setVendorName(String vendorName) {
43         this.vendorName = vendorName;
44     }
45
46     public String getDescription() {
47         return description;
48     }
49
50     public void setDescription(String description) {
51         this.description = description;
52     }
53
54     public String getIconRef() {
55         return iconRef;
56     }
57
58     public void setIconRef(String iconRef) {
59         this.iconRef = iconRef;
60     }
61 }