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;
27 import javax.xml.bind.annotation.XmlRootElement;
28 import org.onap.so.openstack.beans.VnfStatus;
29 import com.fasterxml.jackson.annotation.JsonRootName;
30 import org.slf4j.Logger;
31 import org.slf4j.LoggerFactory;
33 @JsonRootName("queryVfModuleResponse")
34 @XmlRootElement(name = "queryVfModuleResponse")
35 public class QueryVfModuleResponse extends VfResponseCommon{
36 private static final Logger logger = LoggerFactory.getLogger(QueryVfModuleResponse.class);
38 private String vfModuleId;
39 private String vfModuleStackId;
40 private VnfStatus vnfStatus;
41 private Map<String, String> vfModuleOutputs;
43 public QueryVfModuleResponse() {
47 public QueryVfModuleResponse(String vnfId, String vfModuleId, String vfModuleStackId, VnfStatus vnfStatus,
48 Map<String, String> vfModuleOutputs) {
51 this.vfModuleId = vfModuleId;
52 this.vfModuleStackId = vfModuleStackId;
53 this.vnfStatus = vnfStatus;
54 this.vfModuleOutputs = vfModuleOutputs;
57 public String getVnfId() {
61 public void setVnfId(String vnfId) {
65 public String getVfModuleId() {
69 public void setVfModuleId(String vfModuleId) {
70 this.vfModuleId = vfModuleId;
73 public String getVfModuleStackId() {
74 return vfModuleStackId;
77 public void setVfModuleStackId(String vfModuleStackId) {
78 this.vfModuleStackId = vfModuleStackId;
81 public VnfStatus getVnfStatus() {
85 public void setVnfStatus(VnfStatus vnfStatus) {
86 this.vnfStatus = vnfStatus;
89 public Map<String, String> getVfModuleOutputs() {
90 return vfModuleOutputs;
93 public void setVfModuleOutputs(Map<String, String> vfModuleOutputs) {
94 this.vfModuleOutputs = vfModuleOutputs;