Initial OpenECOMP MSO commit
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / openecomp / mso / adapters / vnfrest / DeleteVfModuleResponse.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * OPENECOMP - MSO
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 javax.xml.bind.annotation.XmlRootElement;
25 import org.jboss.resteasy.annotations.providers.NoJackson;
26 import org.codehaus.jackson.map.annotate.JsonRootName;
27
28 @JsonRootName("deleteVfModuleResponse")
29 @XmlRootElement(name = "deleteVfModuleResponse")
30 @NoJackson
31 public class DeleteVfModuleResponse extends VfResponseCommon {
32         private String vnfId;
33         private String vfModuleId;
34         private Boolean vfModuleDeleted;
35
36         public DeleteVfModuleResponse() {
37                 super();
38         }
39
40         public DeleteVfModuleResponse(String vnfId, String vfModuleId, Boolean vfModuleDeleted, String messageId) {
41                 super(messageId);
42                 this.vnfId = vnfId;
43                 this.vfModuleId = vfModuleId;
44                 this.vfModuleDeleted = vfModuleDeleted;
45         }
46
47         public String getVnfId() {
48                 return vnfId;
49         }
50
51         public void setVnfId(String vnfId) {
52                 this.vnfId = vnfId;
53         }
54
55         public String getVfModuleId() {
56                 return vfModuleId;
57         }
58
59         public void setVfModuleId(String vfModuleId) {
60                 this.vfModuleId = vfModuleId;
61         }
62
63         public Boolean getVfModuleDeleted() {
64                 return vfModuleDeleted;
65         }
66
67         public void setVfModuleDeleted(Boolean vfModuleDeleted) {
68                 this.vfModuleDeleted = vfModuleDeleted;
69         }
70 }