Initial source code
[oam/tr069-adapter.git] / acs / common / src / main / java / org / commscope / tr069adapter / acs / common / DeviceDetails.java
diff --git a/acs/common/src/main/java/org/commscope/tr069adapter/acs/common/DeviceDetails.java b/acs/common/src/main/java/org/commscope/tr069adapter/acs/common/DeviceDetails.java
new file mode 100644 (file)
index 0000000..7db39fd
--- /dev/null
@@ -0,0 +1,70 @@
+/*\r
+ * ============LICENSE_START========================================================================\r
+ * ONAP : tr-069-adapter\r
+ * =================================================================================================\r
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
+ * =================================================================================================\r
+ * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,\r
+ * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You\r
+ * may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\r
+ * either express or implied. See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ===============LICENSE_END=======================================================================\r
+ */\r
+\r
+package org.commscope.tr069adapter.acs.common;\r
+\r
+import com.fasterxml.jackson.annotation.JsonTypeInfo;\r
+\r
+import java.io.Serializable;\r
+\r
+@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY, property = "@class")\r
+public class DeviceDetails implements Serializable {\r
+\r
+  private static final long serialVersionUID = -2127021632952200894L;\r
+\r
+  protected String deviceId;\r
+\r
+  protected long deviceTypeId;\r
+\r
+  protected String oui;\r
+\r
+  protected String productClass;\r
+\r
+  public String getDeviceId() {\r
+    return deviceId;\r
+  }\r
+\r
+  public void setDeviceId(String deviceId) {\r
+    this.deviceId = deviceId;\r
+  }\r
+\r
+  public long getDeviceTypeId() {\r
+    return deviceTypeId;\r
+  }\r
+\r
+  public void setDeviceTypeId(long deviceTypeId) {\r
+    this.deviceTypeId = deviceTypeId;\r
+  }\r
+\r
+  public String getOui() {\r
+    return oui;\r
+  }\r
+\r
+  public void setOui(String oui) {\r
+    this.oui = oui;\r
+  }\r
+\r
+  public String getProductClass() {\r
+    return productClass;\r
+  }\r
+\r
+  public void setProductClass(String productClass) {\r
+    this.productClass = productClass;\r
+  }\r
+\r
+}\r