Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2012-01-12 22:28:59 +0000
committerKevin Sawicki2012-01-12 22:28:59 +0000
commit55a869ef5ac43b805439646f9dce550224cc7ca8 (patch)
tree513d1a30584229de7571ad4f396f5ff8531476c7 /org.eclipse.egit.github.core/src
parentb429472a5d128ac95aa3618e1db759225ddcb45b (diff)
downloadegit-github-55a869ef5ac43b805439646f9dce550224cc7ca8.tar.gz
egit-github-55a869ef5ac43b805439646f9dce550224cc7ca8.tar.xz
egit-github-55a869ef5ac43b805439646f9dce550224cc7ca8.zip
Add missing id field to Event model class
Diffstat (limited to 'org.eclipse.egit.github.core/src')
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/Event.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/Event.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/Event.java
index b68429ff..4d1904e9 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/Event.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/event/Event.java
@@ -38,6 +38,8 @@ public class Event implements Serializable {
private EventRepository repo;
+ private String id;
+
private User actor;
private User org;
@@ -155,4 +157,20 @@ public class Event implements Serializable {
this.payload = payload;
return this;
}
+
+ /**
+ * @return id
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * @param id
+ * @return this event
+ */
+ public Event setId(String id) {
+ this.id = id;
+ return this;
+ }
}

Back to the top