diff options
author | Vitaly Takmazov | 2018-09-05 13:10:24 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-09-05 13:10:24 +0300 |
commit | b2c48c5a77ca119276cab2ad6df4db4841376f04 (patch) | |
tree | 780281fb019b57aa3f182dc4acd3f6e2e70071b1 /juick-server/src/main/java/com/juick/server/api/activity/model | |
parent | 972d3aef3ab12c38c7f4a3b085c2c99cdc4d1d51 (diff) |
ActivityStreams: followers and following collections
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api/activity/model')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/activity/model/Person.java | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/activity/model/Person.java b/juick-server/src/main/java/com/juick/server/api/activity/model/Person.java index d3e99bcc..f4312ffc 100644 --- a/juick-server/src/main/java/com/juick/server/api/activity/model/Person.java +++ b/juick-server/src/main/java/com/juick/server/api/activity/model/Person.java @@ -6,6 +6,9 @@ public class Person extends ActivityObject { private Image icon; private String inbox; private String outbox; + private String following; + private String followers; + private Link url; @Override public String getType() { @@ -43,4 +46,28 @@ public class Person extends ActivityObject { public void setInbox(String inbox) { this.inbox = inbox; } + + public String getFollowing() { + return following; + } + + public void setFollowing(String following) { + this.following = following; + } + + public String getFollowers() { + return followers; + } + + public void setFollowers(String followers) { + this.followers = followers; + } + + public Link getUrl() { + return url; + } + + public void setUrl(Link url) { + this.url = url; + } } |