Containerization feature of SO
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / onap / so / adapters / vnfrest / QueryVfModuleResponse.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  * 
12  *      http://www.apache.org/licenses/LICENSE-2.0
13  * 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  */
21
22 package org.onap.so.adapters.vnfrest;
23
24 import java.util.Map;
25
26 import javax.xml.bind.annotation.XmlRootElement;
27
28 import org.onap.so.logger.MsoLogger;
29 import org.onap.so.openstack.beans.VnfStatus;
30
31 import com.fasterxml.jackson.annotation.JsonRootName;
32
33 @JsonRootName("queryVfModuleResponse")
34 @XmlRootElement(name = "queryVfModuleResponse")
35 public class QueryVfModuleResponse extends VfResponseCommon{
36         private static final MsoLogger LOGGER = MsoLogger.getMsoLogger (MsoLogger.Catalog.RA, QueryVfModuleResponse.class);
37         private String vnfId;
38         private String vfModuleId;
39         private String vfModuleStackId;
40         private VnfStatus vnfStatus;
41         private Map<String, String> vfModuleOutputs;
42
43         public QueryVfModuleResponse() {
44                 super();
45         }
46
47         public QueryVfModuleResponse(String vnfId, String vfModuleId, String vfModuleStackId, VnfStatus vnfStatus,
48                         Map<String, String> vfModuleOutputs) {
49                 super();
50                 this.vnfId = vnfId;
51                 this.vfModuleId = vfModuleId;
52                 this.vfModuleStackId = vfModuleStackId;
53                 this.vnfStatus = vnfStatus;
54                 this.vfModuleOutputs = vfModuleOutputs;
55         }
56
57         public String getVnfId() {
58                 return vnfId;
59         }
60
61         public void setVnfId(String vnfId) {
62                 this.vnfId = vnfId;
63         }
64
65         public String getVfModuleId() {
66                 return vfModuleId;
67         }
68
69         public void setVfModuleId(String vfModuleId) {
70                 this.vfModuleId = vfModuleId;
71         }
72
73         public String getVfModuleStackId() {
74                 return vfModuleStackId;
75         }
76
77         public void setVfModuleStackId(String vfModuleStackId) {
78                 this.vfModuleStackId = vfModuleStackId;
79         }
80
81         public VnfStatus getVnfStatus() {
82                 return vnfStatus;
83         }
84
85         public void setVnfStatus(VnfStatus vnfStatus) {
86                 this.vnfStatus = vnfStatus;
87         }
88
89         public Map<String, String> getVfModuleOutputs() {
90                 return vfModuleOutputs;
91         }
92
93         public void setVfModuleOutputs(Map<String, String> vfModuleOutputs) {
94                 this.vfModuleOutputs = vfModuleOutputs;
95         }
96         
97 }