diff options
author | 2016-12-26 14:39:02 +0300 | |
---|---|---|
committer | 2016-12-26 15:11:20 +0300 | |
commit | 75fb7fd203746aa24669e084ac4de5a30c36ff32 (patch) | |
tree | fb6ef77444e68be3222ccb9273517065f47556d0 /juick-www | |
parent | 76fd9227e138afdbbce57bf0845f7f90fe127edc (diff) |
juick-www: add missing properties of facebook Graph object
Diffstat (limited to 'juick-www')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/facebook/Graph.java | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/juick-www/src/main/java/com/juick/www/facebook/Graph.java b/juick-www/src/main/java/com/juick/www/facebook/Graph.java index b5827751..f4c6ab2a 100644 --- a/juick-www/src/main/java/com/juick/www/facebook/Graph.java +++ b/juick-www/src/main/java/com/juick/www/facebook/Graph.java @@ -1,5 +1,7 @@ package com.juick.www.facebook; +import com.fasterxml.jackson.annotation.JsonProperty; + /** * Created by vitalyster on 28.11.2016. */ @@ -8,6 +10,12 @@ public class Graph { private String name; private String link; private boolean verified; + private String firstName; + private String lastName; + private String gender; + private String locale; + private String timezone; + private String updatedTime; public String getId() { return id; @@ -40,4 +48,54 @@ public class Graph { public void setVerified(boolean verified) { this.verified = verified; } + + @JsonProperty("first_name") + public String getFirstName() { + return firstName; + } + public void setFirstName(String firstName) { + this.firstName = firstName; + } + + public String getGender() { + return gender; + } + + public void setGender(String gender) { + this.gender = gender; + } + + @JsonProperty("last_name") + public String getLastName() { + return lastName; + } + + public void setLastName(String lastName) { + this.lastName = lastName; + } + + public String getLocale() { + return locale; + } + + public void setLocale(String locale) { + this.locale = locale; + } + + public String getTimezone() { + return timezone; + } + + public void setTimezone(String timezone) { + this.timezone = timezone; + } + + @JsonProperty("updated_time") + public String getUpdatedTime() { + return updatedTime; + } + + public void setUpdatedTime(String updatedTime) { + this.updatedTime = updatedTime; + } } |