Replaced all tabs with spaces in java and pom.xml
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / onap / so / adapters / nwrest / QueryNetworkResponse.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  * Modifications Copyright (C) 2018 IBM.
9  * ================================================================================
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  * 
14  *      http://www.apache.org/licenses/LICENSE-2.0
15  * 
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  * ============LICENSE_END=========================================================
22  */
23
24 package org.onap.so.adapters.nwrest;
25
26 import java.util.List;
27 import java.util.Map;
28 import javax.xml.bind.annotation.XmlRootElement;
29 import org.onap.so.openstack.beans.NetworkStatus;
30 import org.onap.so.openstack.beans.RouteTarget;
31
32 @XmlRootElement(name = "queryNetworkResponse")
33 public class QueryNetworkResponse extends NetworkResponseCommon {
34     /**
35      * 
36      */
37     private static final long serialVersionUID = -5251191073081795026L;
38     private String networkId;
39     private String neutronNetworkId;
40     private String networkStackId;
41     private Boolean networkExists;
42     private NetworkStatus networkStatus;
43     private List<Integer> vlans;
44     private List<RouteTarget> routeTargets;
45     private Map<String, String> subnetIdMap;
46     private Map<String, String> networkOutputs;
47
48     public QueryNetworkResponse() {
49         super();
50     }
51
52     public QueryNetworkResponse(String networkId, String neutronNetworkId, String networkStackId,
53             NetworkStatus networkStatus, Map<String, String> networkOutputs) {
54         super();
55         this.networkId = networkId;
56         this.neutronNetworkId = neutronNetworkId;
57         this.networkStackId = networkStackId;
58         this.networkStatus = networkStatus;
59         this.networkOutputs = networkOutputs;
60     }
61
62     public String getNetworkId() {
63         return networkId;
64     }
65
66     public void setNetworkId(String networkId) {
67         this.networkId = networkId;
68     }
69
70     public String getNeutronNetworkId() {
71         return neutronNetworkId;
72     }
73
74     public void setNeutronNetworkId(String neutronNetworkId) {
75         this.neutronNetworkId = neutronNetworkId;
76     }
77
78     public String getNetworkStackId() {
79         return networkStackId;
80     }
81
82     public void setNetworkStackId(String networkStackId) {
83         this.networkStackId = networkStackId;
84     }
85
86     public NetworkStatus getNetworkStatus() {
87         return networkStatus;
88     }
89
90     public void setNetworkStatus(NetworkStatus networkStatus) {
91         this.networkStatus = networkStatus;
92     }
93
94     public Boolean getNetworkExists() {
95         return networkExists;
96     }
97
98     public void setNetworkExists(Boolean networkExists) {
99         this.networkExists = networkExists;
100     }
101
102     public List<Integer> getVlans() {
103         return vlans;
104     }
105
106     public void setVlans(List<Integer> vlans) {
107         this.vlans = vlans;
108     }
109
110     public List<RouteTarget> getRouteTargets() {
111         return routeTargets;
112     }
113
114     public void setRouteTargets(List<RouteTarget> routeTargets) {
115         this.routeTargets = routeTargets;
116     }
117
118     public Map<String, String> getSubnetIdMap() {
119         return subnetIdMap;
120     }
121
122     public void setSubnetIdMap(Map<String, String> subnetIdMap) {
123         this.subnetIdMap = subnetIdMap;
124     }
125
126     public Map<String, String> getNetworkOutputs() {
127         return networkOutputs;
128     }
129
130     public void setNetworkOutputs(Map<String, String> networkOutputs) {
131         this.networkOutputs = networkOutputs;
132     }
133 }