2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved.
7 * Modifications Copyright (c) 2019 Samsung
8 * ================================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END=========================================================
23 package org.onap.so.adapters.vnfrest;
26 import javax.xml.bind.annotation.XmlRootElement;
27 import org.onap.so.openstack.beans.VnfStatus;
28 import com.fasterxml.jackson.annotation.JsonRootName;
29 import org.slf4j.Logger;
30 import org.slf4j.LoggerFactory;
32 @JsonRootName("queryVfModuleResponse")
33 @XmlRootElement(name = "queryVfModuleResponse")
34 public class QueryVfModuleResponse extends VfResponseCommon {
35 private static final Logger logger = LoggerFactory.getLogger(QueryVfModuleResponse.class);
37 private String vfModuleId;
38 private String vfModuleStackId;
39 private VnfStatus vnfStatus;
40 private Map<String, String> vfModuleOutputs;
42 public QueryVfModuleResponse() {
46 public QueryVfModuleResponse(String vnfId, String vfModuleId, String vfModuleStackId, VnfStatus vnfStatus,
47 Map<String, String> vfModuleOutputs) {
50 this.vfModuleId = vfModuleId;
51 this.vfModuleStackId = vfModuleStackId;
52 this.vnfStatus = vnfStatus;
53 this.vfModuleOutputs = vfModuleOutputs;
56 public String getVnfId() {
60 public void setVnfId(String vnfId) {
64 public String getVfModuleId() {
68 public void setVfModuleId(String vfModuleId) {
69 this.vfModuleId = vfModuleId;
72 public String getVfModuleStackId() {
73 return vfModuleStackId;
76 public void setVfModuleStackId(String vfModuleStackId) {
77 this.vfModuleStackId = vfModuleStackId;
80 public VnfStatus getVnfStatus() {
84 public void setVnfStatus(VnfStatus vnfStatus) {
85 this.vnfStatus = vnfStatus;
88 public Map<String, String> getVfModuleOutputs() {
89 return vfModuleOutputs;
92 public void setVfModuleOutputs(Map<String, String> vfModuleOutputs) {
93 this.vfModuleOutputs = vfModuleOutputs;