9f41a383fcc50632440513340687461f60e355f0
[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 import java.util.Map;
17
18 public class VnfVirtualLinkResourceInfo {
19     @NotNull
20     private String id;
21     @NotNull
22     private String virtualLinkDescId;
23     @NotNull
24     private ResourceHandle networkResource;
25     private String reservationId;
26     private List<VnfLinkPortInfo> vnfLinkPorts;
27     Map<String, Object> metadata;
28
29     public String getId() {
30         return id;
31     }
32
33     public void setId(String id) {
34         this.id = id;
35     }
36
37     public String getVirtualLinkDescId() {
38         return virtualLinkDescId;
39     }
40
41     public void setVirtualLinkDescId(String virtualLinkDescId) {
42         this.virtualLinkDescId = virtualLinkDescId;
43     }
44
45     public ResourceHandle getNetworkResource() {
46         return networkResource;
47     }
48
49     public void setNetworkResource(ResourceHandle networkResource) {
50         this.networkResource = networkResource;
51     }
52
53     public String getReservationId() {
54         return reservationId;
55     }
56
57     public void setReservationId(String reservationId) {
58         this.reservationId = reservationId;
59     }
60
61     public List<VnfLinkPortInfo> getVnfLinkPorts() {
62         return vnfLinkPorts;
63     }
64
65     public void setVnfLinkPorts(List<VnfLinkPortInfo> vnfLinkPorts) {
66         this.vnfLinkPorts = vnfLinkPorts;
67     }
68
69     public Map<String, Object> getMetadata() {
70         return metadata;
71     }
72
73     public void setMetadata(Map<String, Object> metadata) {
74         this.metadata = metadata;
75     }
76 }