2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.sdcrests.vendorsoftwareproducts.types;
23 import org.openecomp.sdc.vendorsoftwareproduct.types.LicensingData;
24 import org.openecomp.sdcrests.common.types.VersionDto;
26 import javax.validation.constraints.NotNull;
28 public class VspDescriptionDto {
32 private String description;
35 private String category;
37 private String subCategory;
39 private String vendorName;
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;
46 private String onboardingMethod;
47 private String onboardingOrigin;
48 private String networkPackageName;
50 public String getName() {
54 public void setName(String name) {
58 public String getDescription() {
62 public void setDescription(String description) {
63 this.description = description;
66 public String getIcon() {
70 public void setIcon(String icon) {
74 public String getCategory() {
78 public void setCategory(String category) {
79 this.category = category;
82 public String getSubCategory() {
86 public void setSubCategory(String subCategory) {
87 this.subCategory = subCategory;
90 public String getVendorName() {
94 public void setVendorName(String vendorName) {
95 this.vendorName = vendorName;
98 public String getVendorId() {
102 public void setVendorId(String vendorId) {
103 this.vendorId = vendorId;
106 public VersionDto getLicensingVersion() {
107 return licensingVersion;
110 public void setLicensingVersion(VersionDto licensingVersion) {
111 this.licensingVersion = licensingVersion;
114 public LicensingData getLicensingData() {
115 return licensingData;
118 public void setLicensingData(LicensingData licensingData) {
119 this.licensingData = licensingData;
122 public String getOnboardingMethod() {
123 return onboardingMethod;
126 public void setOnboardingMethod(String onboardingMethod) {
127 this.onboardingMethod = onboardingMethod;
130 public String getOnboardingOrigin() {
131 return onboardingOrigin;
134 public void setOnboardingOrigin(String onboardingOrigin) {
135 this.onboardingOrigin = onboardingOrigin;
138 public String getNetworkPackageName() {
139 return networkPackageName;
142 public void setNetworkPackageName(String networkPackageName) {
143 this.networkPackageName = networkPackageName;