"First commit!"
[smartthings-infrastructure.git] / Event / Event.groovy
diff --git a/Event/Event.groovy b/Event/Event.groovy
new file mode 100644 (file)
index 0000000..fb738c7
--- /dev/null
@@ -0,0 +1,20 @@
+//Create a class for Events
+package Event
+
+public class Event {
+       private int deviceId
+       private String value
+       private String linkText
+       private String displayName
+       private String name
+       private String descriptionText
+       
+       Event() {
+               this.deviceId = 0
+               this.linkText = ""
+               this.value = ""
+               this.displayName = ""
+               this.name = ""
+               this.descriptionText = ""
+       }
+}