Containerization feature of SO
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / onap / so / adapters / nwrest / ProviderVlanNetwork.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.onap.so.adapters.nwrest;
22
23
24
25 import java.io.Serializable;
26 import java.util.List;
27
28 public class ProviderVlanNetwork implements Serializable{
29         /**
30          * 
31          */
32         private static final long serialVersionUID = 6744949861614446315L;
33         private String physicalNetworkName;
34         private List<Integer> vlans;
35         
36         public ProviderVlanNetwork() {
37                 super();
38         }
39         
40         public ProviderVlanNetwork(String physicalNetworkName, List<Integer> vlans) {
41                 super();
42                 this.physicalNetworkName = physicalNetworkName;
43                 this.vlans = vlans;
44         }
45
46         public String getPhysicalNetworkName() {
47                 return physicalNetworkName;
48         }
49
50         public void setPhysicalNetworkName(String physicalNetworkName) {
51                 this.physicalNetworkName = physicalNetworkName;
52         }
53
54         public List<Integer> getVlans() {
55                 return vlans;
56         }
57
58         public void setVlans(List<Integer> vlans) {
59                 this.vlans = vlans;
60         }       
61 }