3f643a833076280df1a3c2c2cd488b59e8eb1c35
[so.git] /
1 /*
2  * Copyright (C) 2019 Verizon. All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you
3  * may not use this file except in compliance with the License. You may obtain a copy of the License at
4  *
5  * http://www.apache.org/licenses/LICENSE-2.0
6  *
7  * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
8  * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
9  * specific language governing permissions and limitations under the License.
10  */
11
12 package org.onap.so.adapters.vfc.model;
13
14 import javax.validation.constraints.NotNull;
15 import java.util.List;
16
17 public class ExtManagedVirtualLinkInfo {
18     @NotNull
19     private String id;
20     @NotNull
21     private String vnfVirtualLinkDescId;
22     @NotNull
23     private ResourceHandle networkResource;
24     private List<VnfLinkPortInfo> vnfLinkPorts;
25
26     public String getId() {
27         return id;
28     }
29
30     public void setId(String id) {
31         this.id = id;
32     }
33
34     public String getVnfVirtualLinkDescId() {
35         return vnfVirtualLinkDescId;
36     }
37
38     public void setVnfVirtualLinkDescId(String vnfVirtualLinkDescId) {
39         this.vnfVirtualLinkDescId = vnfVirtualLinkDescId;
40     }
41
42     public ResourceHandle getNetworkResource() {
43         return networkResource;
44     }
45
46     public void setNetworkResource(ResourceHandle networkResource) {
47         this.networkResource = networkResource;
48     }
49
50     public List<VnfLinkPortInfo> getVnfLinkPorts() {
51         return vnfLinkPorts;
52     }
53
54     public void setVnfLinkPorts(List<VnfLinkPortInfo> vnfLinkPorts) {
55         this.vnfLinkPorts = vnfLinkPorts;
56     }
57 }