Create new VSP, onboard from TOSCA file - UI
[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 / VspDescriptionDto.java
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
21 package org.openecomp.sdcrests.vendorsoftwareproducts.types;
22
23 import org.openecomp.sdc.vendorsoftwareproduct.types.LicensingData;
24 import org.openecomp.sdcrests.common.types.VersionDto;
25
26 import javax.validation.constraints.NotNull;
27
28 public class VspDescriptionDto {
29   @NotNull
30   private String name;
31   @NotNull
32   private String description;
33   private String icon;
34   @NotNull
35   private String category;
36   @NotNull
37   private String subCategory;
38   @NotNull
39   private String vendorName;
40   @NotNull
41   private String vendorId;            // this will be populated with vlm id
42   private VersionDto licensingVersion;    // this will be populated with vlm version
43   private LicensingData licensingData;
44
45   @NotNull
46   private String onboardingMethod;
47   private String onboardingOrigin;
48   private String networkPackageName;
49
50   public String getName() {
51     return name;
52   }
53
54   public void setName(String name) {
55     this.name = name;
56   }
57
58   public String getDescription() {
59     return description;
60   }
61
62   public void setDescription(String description) {
63     this.description = description;
64   }
65
66   public String getIcon() {
67     return this.icon;
68   }
69
70   public void setIcon(String icon) {
71     this.icon = icon;
72   }
73
74   public String getCategory() {
75     return category;
76   }
77
78   public void setCategory(String category) {
79     this.category = category;
80   }
81
82   public String getSubCategory() {
83     return subCategory;
84   }
85
86   public void setSubCategory(String subCategory) {
87     this.subCategory = subCategory;
88   }
89
90   public String getVendorName() {
91     return vendorName;
92   }
93
94   public void setVendorName(String vendorName) {
95     this.vendorName = vendorName;
96   }
97
98   public String getVendorId() {
99     return vendorId;
100   }
101
102   public void setVendorId(String vendorId) {
103     this.vendorId = vendorId;
104   }
105
106   public VersionDto getLicensingVersion() {
107     return licensingVersion;
108   }
109
110   public void setLicensingVersion(VersionDto licensingVersion) {
111     this.licensingVersion = licensingVersion;
112   }
113
114   public LicensingData getLicensingData() {
115     return licensingData;
116   }
117
118   public void setLicensingData(LicensingData licensingData) {
119     this.licensingData = licensingData;
120   }
121
122   public String getOnboardingMethod() {
123     return onboardingMethod;
124   }
125
126   public void setOnboardingMethod(String onboardingMethod) {
127     this.onboardingMethod = onboardingMethod;
128   }
129
130   public String getOnboardingOrigin() {
131     return onboardingOrigin;
132   }
133
134   public void setOnboardingOrigin(String onboardingOrigin) {
135     this.onboardingOrigin = onboardingOrigin;
136   }
137
138   public String getNetworkPackageName() {
139     return networkPackageName;
140   }
141
142   public void setNetworkPackageName(String networkPackageName) {
143     this.networkPackageName = networkPackageName;
144   }
145 }