Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Ringle2012-04-05 15:28:22 +0000
committerKevin Sawicki2012-04-05 15:28:22 +0000
commit9d5d851d6bdffeda3f837ed6955750cd150fe4c7 (patch)
treecc5c29b6cd796b62b1f2cfe73d3f116db2c29c36 /org.eclipse.egit.github.core/src
parent5bfa684c1b28b1d845f3748e72ea204681c3deb9 (diff)
downloadegit-github-9d5d851d6bdffeda3f837ed6955750cd150fe4c7.tar.gz
egit-github-9d5d851d6bdffeda3f837ed6955750cd150fe4c7.tar.xz
egit-github-9d5d851d6bdffeda3f837ed6955750cd150fe4c7.zip
Add the gravatar id field to the User model
Change-Id: Id9cc14c5eda40584e7a097ff64ff802f4e252618 Signed-off-by: Eddie Ringle <eddie@eringle.net> Signed-off-by: Kevin Sawicki <kevin@github.com>
Diffstat (limited to 'org.eclipse.egit.github.core/src')
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java
index 92be8574..2fd774df 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java
@@ -65,6 +65,8 @@ public class User implements Serializable {
private String email;
+ private String gravatarId;
+
private String htmlUrl;
private String location;
@@ -336,6 +338,22 @@ public class User implements Serializable {
}
/**
+ * @return gravatarId
+ */
+ public String getGravatarId() {
+ return gravatarId;
+ }
+
+ /**
+ * @param gravatarId
+ * @return this user
+ */
+ public User setGravatarId(String gravatarId) {
+ this.gravatarId = gravatarId;
+ return this;
+ }
+
+ /**
* @return htmlUrl
*/
public String getHtmlUrl() {

Back to the top