Remove unnecessary string field.

Change-Id: I1fc215f52bdbf07d914f9867d8b9bbbe3ce35f01
diff --git a/apps/kafka-integration/api/src/main/java/org/onosproject/kafkaintegration/api/dto/OnosEvent.java b/apps/kafka-integration/api/src/main/java/org/onosproject/kafkaintegration/api/dto/OnosEvent.java
index 26f16f5..9b28eeb 100644
--- a/apps/kafka-integration/api/src/main/java/org/onosproject/kafkaintegration/api/dto/OnosEvent.java
+++ b/apps/kafka-integration/api/src/main/java/org/onosproject/kafkaintegration/api/dto/OnosEvent.java
@@ -42,16 +42,11 @@
         /**
          * Signifies Device events.
          */
-        DEVICE("DEVICE"),
+        DEVICE,
 
         /**
          * Signifies Link events.
          */
-        LINK("LINK");
-        public String typeName;
-
-        Type(String name) {
-            typeName = name;
-        }
+        LINK;
     }
 }