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 java.util.HashMap;
27 import javax.xml.bind.annotation.XmlRootElement;
29 import com.fasterxml.jackson.annotation.JsonRootName;
31 @JsonRootName("deleteVfModuleResponse")
32 @XmlRootElement(name = "deleteVfModuleResponse")
33 public class DeleteVfModuleResponse extends VfResponseCommon {
35 private String vfModuleId;
36 private Boolean vfModuleDeleted;
37 private Map<String,String> vfModuleOutputs = new HashMap<>();
38 public DeleteVfModuleResponse() {
42 public DeleteVfModuleResponse(String vnfId, String vfModuleId, Boolean vfModuleDeleted, String messageId, Map<String,String> outputs) {
45 this.vfModuleId = vfModuleId;
46 this.vfModuleDeleted = vfModuleDeleted;
47 this.vfModuleOutputs = outputs;
50 public String getVnfId() {
54 public void setVnfId(String vnfId) {
58 public String getVfModuleId() {
62 public void setVfModuleId(String vfModuleId) {
63 this.vfModuleId = vfModuleId;
66 public Boolean getVfModuleDeleted() {
67 return vfModuleDeleted;
70 public void setVfModuleDeleted(Boolean vfModuleDeleted) {
71 this.vfModuleDeleted = vfModuleDeleted;
73 public Map<String, String> getVfModuleOutputs() {
74 return vfModuleOutputs;
77 public void setVfModuleOutputs(Map<String, String> vfModuleOutputs) {
78 this.vfModuleOutputs = vfModuleOutputs;