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