diff options
author | 2018-10-10 00:09:58 +0300 | |
---|---|---|
committer | 2018-10-24 00:00:46 +0300 | |
commit | 8e6d764d6bb4391532e5376c795f634ee3898872 (patch) | |
tree | 99c5266ff0e1395b99ac5a70d2eca1e97865c856 /juick-server/src/main/java/com/juick/server/api/activity/model/objects/Note.java | |
parent | ee62ef1659604a373cb1c94d3cf0b1a6fd3946e8 (diff) |
ActivityPub: Mentions and Hashtags
Diffstat (limited to 'juick-server/src/main/java/com/juick/server/api/activity/model/objects/Note.java')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/activity/model/objects/Note.java | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/activity/model/objects/Note.java b/juick-server/src/main/java/com/juick/server/api/activity/model/objects/Note.java new file mode 100644 index 00000000..458b925c --- /dev/null +++ b/juick-server/src/main/java/com/juick/server/api/activity/model/objects/Note.java @@ -0,0 +1,62 @@ +package com.juick.server.api.activity.model.objects; + +import com.juick.server.api.activity.model.Context; + +import java.util.List; + +public class Note extends Context { + private String content; + private String attributedTo; + private String inReplyTo; + private Image attachment; + private List<String> to; + private List<String> cc; + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getAttributedTo() { + return attributedTo; + } + + public void setAttributedTo(String attributedTo) { + this.attributedTo = attributedTo; + } + + public Image getAttachment() { + return attachment; + } + + public void setAttachment(Image attachment) { + this.attachment = attachment; + } + + public List<String> getTo() { + return to; + } + + public void setTo(List<String> to) { + this.to = to; + } + + public List<String> getCc() { + return cc; + } + + public void setCc(List<String> cc) { + this.cc = cc; + } + + public String getInReplyTo() { + return inReplyTo; + } + + public void setInReplyTo(String inReplyTo) { + this.inReplyTo = inReplyTo; + } +} |