Development of NETCONF RPCs for tr-069 adapter to
[oam/tr069-adapter.git] / ves-agent / src / main / java / org / commscope / tr069adapter / vesagent / model / PnfRegEventFields.java
1 /*
2  * ============LICENSE_START========================================================================
3  * ONAP : tr-069-adapter
4  * =================================================================================================
5  * Copyright (C) 2020 CommScope Inc Intellectual Property.
6  * =================================================================================================
7  * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,
8  * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You
9  * may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14  * either express or implied. See the License for the specific language governing permissions and
15  * limitations under the License.
16  * ===============LICENSE_END=======================================================================
17  */
18
19 package org.commscope.tr069adapter.vesagent.model;
20
21 import com.fasterxml.jackson.annotation.JsonInclude;
22 import com.fasterxml.jackson.annotation.JsonProperty;
23
24 import java.io.Serializable;
25
26 @JsonInclude(JsonInclude.Include.NON_NULL)
27 public class PnfRegEventFields implements Serializable {
28   /**
29    * 
30    */
31   private static final long serialVersionUID = 2183003488649290852L;
32   private String pnfRegistrationFieldsVersion;
33   private String serialNumber;
34   private String vendorName;
35   private String oamV4IpAddress;
36   private String oamV6IpAddress;
37   private String softwareVersion;
38   private String unitType;
39   private String unitFamily;
40   private String modelNumber;
41   private String manufactureDate;
42   private String macAddress;
43   private String lastServiceDate;
44   @JsonProperty("additionalFields")
45   private Serializable additionalFields = null;
46
47   public String getPnfRegistrationFieldsVersion() {
48     return pnfRegistrationFieldsVersion;
49   }
50
51   public void setPnfRegistrationFieldsVersion(String pnfRegistrationFieldsVersion) {
52     this.pnfRegistrationFieldsVersion = pnfRegistrationFieldsVersion;
53   }
54
55   public String getSerialNumber() {
56     return serialNumber;
57   }
58
59   public void setSerialNumber(String serialNumber) {
60     this.serialNumber = serialNumber;
61   }
62
63   public String getVendorName() {
64     return vendorName;
65   }
66
67   public void setVendorName(String vendorName) {
68     this.vendorName = vendorName;
69   }
70
71   public String getOamV4IpAddress() {
72     return oamV4IpAddress;
73   }
74
75   public void setOamV4IpAddress(String oamV4IpAddress) {
76     this.oamV4IpAddress = oamV4IpAddress;
77   }
78
79   public String getOamV6IpAddress() {
80     return oamV6IpAddress;
81   }
82
83   public void setOamV6IpAddress(String oamV6IpAddress) {
84     this.oamV6IpAddress = oamV6IpAddress;
85   }
86
87   public String getSoftwareVersion() {
88     return softwareVersion;
89   }
90
91   public void setSoftwareVersion(String softwareVersion) {
92     this.softwareVersion = softwareVersion;
93   }
94
95   public String getUnitType() {
96     return unitType;
97   }
98
99   public void setUnitType(String unitType) {
100     this.unitType = unitType;
101   }
102
103   public String getUnitFamily() {
104     return unitFamily;
105   }
106
107   public void setUnitFamily(String unitFamily) {
108     this.unitFamily = unitFamily;
109   }
110
111   public String getModelNumber() {
112     return modelNumber;
113   }
114
115   public void setModelNumber(String modelNumber) {
116     this.modelNumber = modelNumber;
117   }
118
119   public String getManufactureDate() {
120     return manufactureDate;
121   }
122
123   public void setManufactureDate(String manufactureDate) {
124     this.manufactureDate = manufactureDate;
125   }
126
127   public String getMacAddress() {
128     return macAddress;
129   }
130
131   public void setMacAddress(String macAddress) {
132     this.macAddress = macAddress;
133   }
134
135   public String getLastServiceDate() {
136     return lastServiceDate;
137   }
138
139   public void setLastServiceDate(String lastServiceDate) {
140     this.lastServiceDate = lastServiceDate;
141   }
142
143   public Serializable getAdditionalFields() {
144     return additionalFields;
145   }
146
147   public void setAdditionalFields(Serializable additionalFields) {
148     this.additionalFields = additionalFields;
149   }
150
151   @Override
152   public String toString() {
153     return "PnfRegEventFields [pnfRegistrationFieldsVersion=" + pnfRegistrationFieldsVersion
154         + ", serialNumber=" + serialNumber + ", vendorName=" + vendorName + ", oamV4IpAddress="
155         + oamV4IpAddress + ", oamV6IpAddress=" + oamV6IpAddress + ", softwareVersion="
156         + softwareVersion + ", unitType=" + unitType + ", unitFamily=" + unitFamily
157         + ", modelNumber=" + modelNumber + ", manufactureDate=" + manufactureDate + ", macAddress="
158         + macAddress + ", lastServiceDate=" + lastServiceDate + ", additionalFields="
159         + additionalFields + "]";
160   }
161
162 }