From b2c48c5a77ca119276cab2ad6df4db4841376f04 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 5 Sep 2018 13:10:24 +0300 Subject: ActivityStreams: followers and following collections --- .../juick/server/api/activity/model/Person.java | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'juick-server/src/main/java/com/juick/server/api/activity/model') 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; + } } -- cgit v1.2.3