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.mso.adapters.vnfrest;
24 import javax.xml.bind.annotation.XmlRootElement;
25 import org.jboss.resteasy.annotations.providers.NoJackson;
26 import org.codehaus.jackson.map.annotate.JsonRootName;
28 import java.util.HashMap;
31 @JsonRootName("deleteVfModuleResponse")
32 @XmlRootElement(name = "deleteVfModuleResponse")
34 public class DeleteVfModuleResponse extends VfResponseCommon {
36 private String vfModuleId;
37 private Boolean vfModuleDeleted;
38 private Map<String,String> vfModuleOutputs = new HashMap<String, String>();
39 public DeleteVfModuleResponse() {
43 public DeleteVfModuleResponse(String vnfId, String vfModuleId, Boolean vfModuleDeleted, String messageId, Map<String,String> outputs) {
46 this.vfModuleId = vfModuleId;
47 this.vfModuleDeleted = vfModuleDeleted;
48 this.vfModuleOutputs = outputs;
51 public String getVnfId() {
55 public void setVnfId(String vnfId) {
59 public String getVfModuleId() {
63 public void setVfModuleId(String vfModuleId) {
64 this.vfModuleId = vfModuleId;
67 public Boolean getVfModuleDeleted() {
68 return vfModuleDeleted;
71 public void setVfModuleDeleted(Boolean vfModuleDeleted) {
72 this.vfModuleDeleted = vfModuleDeleted;
74 public Map<String, String> getVfModuleOutputs() {
75 return vfModuleOutputs;
78 public void setVfModuleOutputs(Map<String, String> vfModuleOutputs) {
79 this.vfModuleOutputs = vfModuleOutputs;