d3f849f4954dc5c1cafb5564502b856be96fedd0
[so.git] / adapters / mso-adapters-rest-interface / src / main / java / org / openecomp / mso / adapters / nwrest / ContrailNetwork.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.nwrest;
22
23
24 import java.util.List;
25
26 public class ContrailNetwork {
27         private String shared   = "false";
28         private String external = "false";
29         private List<String> routeTargets;
30         private List<String> policyFqdns;
31         private List<String> routeTableFqdns;
32         
33         public ContrailNetwork() {
34                 super();
35         }
36
37         public ContrailNetwork(String shared, String external, List<String> routeTargets, List<String> policyFqdns, List<String> routeTableFqdns) {
38                 super();
39                 this.shared = shared;
40                 this.external = external;
41                 this.routeTargets = routeTargets;
42                 this.policyFqdns = policyFqdns;
43                 this.routeTableFqdns = routeTableFqdns;
44         }
45
46         public String getShared() {
47                 return shared;
48         }
49
50         public void setShared(String shared) {
51                 this.shared = shared;
52         }
53
54         public String getExternal() {
55                 return external;
56         }
57
58         public void setExternal(String external) {
59                 this.external = external;
60         }
61
62         public List<String> getRouteTargets() {
63                 return routeTargets;
64         }
65
66         public void setRouteTargets(List<String> routeTargets) {
67                 this.routeTargets = routeTargets;
68         }
69
70         public List<String> getPolicyFqdns() {
71                 return policyFqdns;
72         }
73
74         public void setPolicyFqdns(List<String> policyFqdns) {
75                 this.policyFqdns = policyFqdns;
76         }
77         
78         public List<String> getRouteTableFqdns() {
79                 return routeTableFqdns;
80         }
81
82         public void setRouteTableFqdns(List<String> routeTableFqdns) {
83                 this.routeTableFqdns = routeTableFqdns;
84         }
85         
86 }