Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Ander Peñalba2016-03-05 15:03:03 -0500
committerJon Ander Peñalba2016-03-05 15:03:55 -0500
commit4aba132c37fde1b4b6328e18473ddc090190bb55 (patch)
treea347fe19edb8f69bd2cfe8191fbe258687b161ae
parent8f9aecdf41dbb8fabae5794cbb903dcced0ce2ab (diff)
downloadegit-github-4aba132c37fde1b4b6328e18473ddc090190bb55.tar.gz
egit-github-4aba132c37fde1b4b6328e18473ddc090190bb55.tar.xz
egit-github-4aba132c37fde1b4b6328e18473ddc090190bb55.zip
Add the assigner attribute to IssueEvent
https://developer.github.com/v3/issues/events/#attributes Change-Id: Id41a0bccfa9ddf4349ab481f87bb1cb986c74426 Signed-off-by: Jon Ander Peñalba <jonan88@gmail.com>
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/IssueEvent.java20
1 files changed, 19 insertions, 1 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/IssueEvent.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/IssueEvent.java
index c2cd6d50..e4540a61 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/IssueEvent.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/IssueEvent.java
@@ -124,6 +124,8 @@ public class IssueEvent implements Serializable {
private User assignee;
+ private User assigner;
+
private Milestone milestone;
private Rename rename;
@@ -243,7 +245,7 @@ public class IssueEvent implements Serializable {
}
/**
- * @return actor
+ * @return assignee
*/
public User getAssignee() {
return assignee;
@@ -259,6 +261,22 @@ public class IssueEvent implements Serializable {
}
/**
+ * @return assigner
+ */
+ public User getAssigner() {
+ return assigner;
+ }
+
+ /**
+ * @param assigner
+ * @return this issue event
+ */
+ public IssueEvent setAssigner(User assigner) {
+ this.assigner = assigner;
+ return this;
+ }
+
+ /**
* @return milestone
*/
public Milestone getMilestone() {

Back to the top