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 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
22 package org.openecomp.mso.adapters.vnfrest;
26 import javax.xml.bind.annotation.XmlRootElement;
28 import org.openecomp.mso.logger.MsoLogger;
29 import org.openecomp.mso.openstack.beans.VnfStatus;
31 import com.fasterxml.jackson.annotation.JsonRootName;
33 @JsonRootName("queryVfModuleResponse")
34 @XmlRootElement(name = "queryVfModuleResponse")
35 public class QueryVfModuleResponse extends VfResponseCommon{
36 private static final MsoLogger LOGGER = MsoLogger.getMsoLogger (MsoLogger.Catalog.RA);
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;