2 * ============LICENSE_START=======================================================
3 * ONAP : ccsdk features
4 * ================================================================================
5 * Copyright (C) 2020 highstreet technologies GmbH Intellectual Property.
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 package org.onap.ccsdk.features.sdnr.wt.devicemanager.types;
24 import java.util.HashMap;
27 import com.fasterxml.jackson.annotation.JsonInclude;
28 import com.fasterxml.jackson.annotation.JsonInclude.Include;
30 @JsonInclude(Include.NON_NULL)
31 public class VESPNFRegistrationFieldsPOJO {
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;
47 public Map<String, String> getAdditionalFields() {
48 return additionalFields;
51 public void setAdditionalFields(Map<String, String> additionalFields) {
52 this.additionalFields = additionalFields;
55 public String getLastServiceDate() {
56 return lastServiceDate;
59 public void setLastServiceDate(String lastServiceDate) {
60 this.lastServiceDate = lastServiceDate;
63 public String getMacAddress() {
67 public void setMacAddress(String macAddress) {
68 this.macAddress = macAddress;
71 public String getManufactureDate() {
72 return manufactureDate;
75 public void setManufactureDate(String manufactureDate) {
76 this.manufactureDate = manufactureDate;
79 public String getModelNumber() {
83 public void setModelNumber(String modelNumber) {
84 this.modelNumber = modelNumber;
87 public String getOamV4IpAddress() {
88 return oamV4IpAddress;
91 public void setOamV4IpAddress(String oamV4IpAddress) {
92 this.oamV4IpAddress = oamV4IpAddress;
95 public String getOamV6IpAddress() {
96 return oamV6IpAddress;
99 public void setOamV6IpAddress(String oamV6IpAddress) {
100 this.oamV6IpAddress = oamV6IpAddress;
103 public String getPnfRegistrationFieldsVersion() {
104 return pnfRegistrationFieldsVersion;
107 public void setPnfRegistrationFieldsVersion(String pnfRegistrationFieldsVersion) {
108 this.pnfRegistrationFieldsVersion = pnfRegistrationFieldsVersion;
111 public String getSerialNumber() {
115 public void setSerialNumber(String serialNumber) {
116 this.serialNumber = serialNumber;
119 public String getSoftwareVersion() {
120 return softwareVersion;
123 public void setSoftwareVersion(String softwareVersion) {
124 this.softwareVersion = softwareVersion;
127 public String getUnitFamily() {
131 public void setUnitFamily(String unitFamily) {
132 this.unitFamily = unitFamily;
135 public String getUnitType() {
139 public void setUnitType(String unitType) {
140 this.unitType = unitType;
143 public String getVendorName() {
147 public void setVendorName(String vendorName) {
148 this.vendorName = vendorName;