111a8fd78598b1c3f6a9d1aabaa37712510f5196
[ccsdk/features.git] /
1 /*
2  * ============LICENSE_START=======================================================
3  * ONAP : ccsdk features
4  * ================================================================================
5  * Copyright (C) 2020 highstreet technologies GmbH Intellectual Property.
6  * All rights reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *     http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END=========================================================
20  *
21  */
22 package org.onap.ccsdk.features.sdnr.wt.devicemanager.types;
23
24 import java.util.HashMap;
25 import java.util.Map;
26
27 import com.fasterxml.jackson.annotation.JsonInclude;
28 import com.fasterxml.jackson.annotation.JsonInclude.Include;
29
30 @JsonInclude(Include.NON_NULL)
31 public class VESPNFRegistrationFieldsPOJO {
32
33     private Map<String, String> additionalFields = new HashMap<String, String>();
34     private String lastServiceDate;
35     private String macAddress;
36     private String manufactureDate;
37     private String modelNumber;
38     private String oamV4IpAddress;
39     private String oamV6IpAddress;
40     private String pnfRegistrationFieldsVersion = "2.0"; // This is the only mandatory field as per the VES Event schema definition
41     private String serialNumber;
42     private String softwareVersion;
43     private String unitFamily;
44     private String unitType;
45     private String vendorName;
46
47     public Map<String, String> getAdditionalFields() {
48         return additionalFields;
49     }
50
51     public void setAdditionalFields(Map<String, String> additionalFields) {
52         this.additionalFields = additionalFields;
53     }
54
55     public String getLastServiceDate() {
56         return lastServiceDate;
57     }
58
59     public void setLastServiceDate(String lastServiceDate) {
60         this.lastServiceDate = lastServiceDate;
61     }
62
63     public String getMacAddress() {
64         return macAddress;
65     }
66
67     public void setMacAddress(String macAddress) {
68         this.macAddress = macAddress;
69     }
70
71     public String getManufactureDate() {
72         return manufactureDate;
73     }
74
75     public void setManufactureDate(String manufactureDate) {
76         this.manufactureDate = manufactureDate;
77     }
78
79     public String getModelNumber() {
80         return modelNumber;
81     }
82
83     public void setModelNumber(String modelNumber) {
84         this.modelNumber = modelNumber;
85     }
86
87     public String getOamV4IpAddress() {
88         return oamV4IpAddress;
89     }
90
91     public void setOamV4IpAddress(String oamV4IpAddress) {
92         this.oamV4IpAddress = oamV4IpAddress;
93     }
94
95     public String getOamV6IpAddress() {
96         return oamV6IpAddress;
97     }
98
99     public void setOamV6IpAddress(String oamV6IpAddress) {
100         this.oamV6IpAddress = oamV6IpAddress;
101     }
102
103     public String getPnfRegistrationFieldsVersion() {
104         return pnfRegistrationFieldsVersion;
105     }
106
107     public void setPnfRegistrationFieldsVersion(String pnfRegistrationFieldsVersion) {
108         this.pnfRegistrationFieldsVersion = pnfRegistrationFieldsVersion;
109     }
110
111     public String getSerialNumber() {
112         return serialNumber;
113     }
114
115     public void setSerialNumber(String serialNumber) {
116         this.serialNumber = serialNumber;
117     }
118
119     public String getSoftwareVersion() {
120         return softwareVersion;
121     }
122
123     public void setSoftwareVersion(String softwareVersion) {
124         this.softwareVersion = softwareVersion;
125     }
126
127     public String getUnitFamily() {
128         return unitFamily;
129     }
130
131     public void setUnitFamily(String unitFamily) {
132         this.unitFamily = unitFamily;
133     }
134
135     public String getUnitType() {
136         return unitType;
137     }
138
139     public void setUnitType(String unitType) {
140         this.unitType = unitType;
141     }
142
143     public String getVendorName() {
144         return vendorName;
145     }
146
147     public void setVendorName(String vendorName) {
148         this.vendorName = vendorName;
149
150     }
151
152 }