Create seed code of svnfm vnfmdriver
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / com / nokia / vfcadaptor / cbam / bo / entity / VnfExtCpData.java
1 /*
2  * Copyright 2016-2017, Nokia Corporation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package com.nokia.vfcadaptor.cbam.bo.entity;
18
19 import java.util.ArrayList;
20 import java.util.List;
21
22 import com.fasterxml.jackson.annotation.JsonProperty;
23
24 public class VnfExtCpData {
25         @JsonProperty("cpdId")
26         private String cpdId;
27         
28         @JsonProperty("addresses")
29         private List<NetworkAddress> addresses=new ArrayList<NetworkAddress>();
30         
31         @JsonProperty("numDynamicAddresses")
32         private Integer numDynamicAddresses;
33
34         public String getCpdId() {
35                 return cpdId;
36         }
37
38         public void setCpdId(String cpdId) {
39                 this.cpdId = cpdId;
40         }
41
42         public List<NetworkAddress> getAddresses() {
43                 return addresses;
44         }
45
46         public void setAddresses(List<NetworkAddress> addresses) {
47                 this.addresses = addresses;
48         }
49
50         public Integer getNumDynamicAddresses() {
51                 return numDynamicAddresses;
52         }
53
54         public void setNumDynamicAddresses(Integer numDynamicAddresses) {
55                 this.numDynamicAddresses = numDynamicAddresses;
56         }
57         
58         
59
60 }