diff options
author | Vitaly Takmazov | 2018-07-15 11:43:36 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-07-15 11:43:36 +0300 |
commit | 3870fd009e13d728a343d2ebe79c4f6cd113f2ab (patch) | |
tree | 8718ba7d045a9ac7a337244373fbbd1af76b4966 /juick-common/src/main/java/com/juick/User.java | |
parent | 3936bb230a856c12a0afbab3fb1baa331beee337 (diff) |
Api: read and readers in /me
Diffstat (limited to 'juick-common/src/main/java/com/juick/User.java')
-rw-r--r-- | juick-common/src/main/java/com/juick/User.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/juick-common/src/main/java/com/juick/User.java b/juick-common/src/main/java/com/juick/User.java index 5edfe782..3b74f31c 100644 --- a/juick-common/src/main/java/com/juick/User.java +++ b/juick-common/src/main/java/com/juick/User.java @@ -46,6 +46,8 @@ public class User { private String credentials; private String lang; private List<ExternalToken> tokens; + private List<User> read; + private List<User> readers; public User() { tokens = new ArrayList<>(); @@ -182,4 +184,19 @@ public class User { public void setTokens(List<ExternalToken> tokens) { this.tokens = tokens; } + + public List<User> getRead() { + return read; + } + public List<User> getReaders() { + return readers; + } + + public void setRead(List<User> read) { + this.read = read; + } + + public void setReaders(List<User> readers) { + this.readers = readers; + } } |