AT&T 1712 and 1802 release code
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / openecomp / mso / adapters / vnfrest / DeleteVfModuleResponse.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20
21 package org.openecomp.mso.adapters.vnfrest;
22
23
24 import java.util.HashMap;
25 import java.util.Map;
26
27 import javax.xml.bind.annotation.XmlRootElement;
28
29 import com.fasterxml.jackson.annotation.JsonRootName;
30
31 @JsonRootName("deleteVfModuleResponse")
32 @XmlRootElement(name = "deleteVfModuleResponse")
33 public class DeleteVfModuleResponse extends VfResponseCommon {
34         private String vnfId;
35         private String vfModuleId;
36         private Boolean vfModuleDeleted;
37         private Map<String,String> vfModuleOutputs = new HashMap<>();
38         public DeleteVfModuleResponse() {
39                 super();
40         }
41
42         public DeleteVfModuleResponse(String vnfId, String vfModuleId, Boolean vfModuleDeleted, String messageId, Map<String,String> outputs) {
43                 super(messageId);
44                 this.vnfId = vnfId;
45                 this.vfModuleId = vfModuleId;
46                 this.vfModuleDeleted = vfModuleDeleted;
47                 this.vfModuleOutputs = outputs;
48         }
49
50         public String getVnfId() {
51                 return vnfId;
52         }
53
54         public void setVnfId(String vnfId) {
55                 this.vnfId = vnfId;
56         }
57
58         public String getVfModuleId() {
59                 return vfModuleId;
60         }
61
62         public void setVfModuleId(String vfModuleId) {
63                 this.vfModuleId = vfModuleId;
64         }
65
66         public Boolean getVfModuleDeleted() {
67                 return vfModuleDeleted;
68         }
69
70         public void setVfModuleDeleted(Boolean vfModuleDeleted) {
71                 this.vfModuleDeleted = vfModuleDeleted;
72         }
73         public Map<String, String> getVfModuleOutputs() {
74                 return vfModuleOutputs;
75         }
76
77         public void setVfModuleOutputs(Map<String, String> vfModuleOutputs) {
78                 this.vfModuleOutputs = vfModuleOutputs;
79         }
80 }