2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2019 Ericsson. All rights reserved.
4 * ================================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
20 package org.onap.so.bpmn.infrastructure.adapter.vnfm.tasks.utils;
22 import java.io.Serializable;
23 import java.util.ArrayList;
24 import java.util.HashMap;
25 import java.util.List;
28 import org.onap.vnfmadapter.v1.model.ExternalVirtualLink;
31 * Wrapper class for instance parameters which are based on SOL003
33 * @author waqas.ikram@est.tech
35 public class InputParameter implements Serializable {
37 private static final long serialVersionUID = 42034634585595304L;
39 private Map<String, String> additionalParams = new HashMap<>();
41 private List<ExternalVirtualLink> extVirtualLinks = new ArrayList<>();
43 public InputParameter(final Map<String, String> additionalParams, final List<ExternalVirtualLink> extVirtualLinks) {
44 this.additionalParams = additionalParams;
45 this.extVirtualLinks = extVirtualLinks;
49 * @return the additionalParams
51 public Map<String, String> getAdditionalParams() {
52 return additionalParams;
56 * @return the extVirtualLinks
58 public List<ExternalVirtualLink> getExtVirtualLinks() {
59 return extVirtualLinks;
63 * @param additionalParams the additionalParams to set
65 public void setAdditionalParams(final Map<String, String> additionalParams) {
66 this.additionalParams = additionalParams;
70 * @param extVirtualLinks the extVirtualLinks to set
72 public void setExtVirtualLinks(final List<ExternalVirtualLink> extVirtualLinks) {
73 this.extVirtualLinks = extVirtualLinks;
77 public String toString() {
78 return "InputParameter [additionalParams=" + additionalParams + ", extVirtualLinks=" + extVirtualLinks + "]";