Change the header to SO
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / openecomp / mso / adapters / vnfrest / UpdateVfModuleResponse.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 import javax.xml.bind.annotation.XmlRootElement;
27 import org.jboss.resteasy.annotations.providers.NoJackson;
28 import org.codehaus.jackson.map.annotate.JsonRootName;
29
30 @JsonRootName("updateVfModuleResponse")
31 @XmlRootElement(name = "updateVfModuleResponse")
32 @NoJackson
33 public class UpdateVfModuleResponse extends VfResponseCommon {
34         private String vnfId;
35         private String vfModuleId;
36         private String vfModuleStackId;
37         private Map<String,String> vfModuleOutputs = new HashMap<String, String>();
38
39         public UpdateVfModuleResponse() {
40                 super();
41         }
42
43         public UpdateVfModuleResponse(String vnfId, String vfModuleId,
44                         String vfModuleStackId,
45                         Map<String, String> vfModuleOutputs,
46                         String messageId) {
47                 super(messageId);
48                 this.vnfId = vnfId;
49                 this.vfModuleId = vfModuleId;
50                 this.vfModuleStackId = vfModuleStackId;
51                 this.vfModuleOutputs = vfModuleOutputs;
52         }
53
54         public String getVnfId() {
55                 return vnfId;
56         }
57
58         public void setVnfId(String vnfId) {
59                 this.vnfId = vnfId;
60         }
61
62         public String getVfModuleId() {
63                 return vfModuleId;
64         }
65
66         public void setVfModuleId(String vfModuleId) {
67                 this.vfModuleId = vfModuleId;
68         }
69
70         public String getVfModuleStackId() {
71                 return vfModuleStackId;
72         }
73
74         public void setVfModuleStackId(String vfModuleStackId) {
75                 this.vfModuleStackId = vfModuleStackId;
76         }
77
78         public Map<String, String> getVfModuleOutputs() {
79                 return vfModuleOutputs;
80         }
81
82         public void setVfModuleOutputs(Map<String, String> vfModuleOutputs) {
83                 this.vfModuleOutputs = vfModuleOutputs;
84         }
85 }