aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server/api/activity/model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-05 11:49:04 +0300
committerGravatar Vitaly Takmazov2018-09-05 11:49:04 +0300
commitb0062ea6d6c637663c54285e65e98a22016e55b7 (patch)
treedeb6e4501fc1f82826ccfc50e3e9e580c1212845 /juick-server/src/main/java/com/juick/server/api/activity/model
parent99b4afb859899b18f39b95a01305ec71cbac76eb (diff)
ActivityStreams: Note attachments
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/Note.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java b/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java
index 0716779a..ae799f5e 100644
--- a/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java
+++ b/juick-server/src/main/java/com/juick/server/api/activity/model/Note.java
@@ -3,6 +3,7 @@ package com.juick.server.api.activity.model;
public class Note extends ActivityObject {
private String content;
private String attributedTo;
+ private Link attachment;
public String getContent() {
return content;
@@ -19,4 +20,12 @@ public class Note extends ActivityObject {
public void setAttributedTo(String attributedTo) {
this.attributedTo = attributedTo;
}
+
+ public Link getAttachment() {
+ return attachment;
+ }
+
+ public void setAttachment(Link attachment) {
+ this.attachment = attachment;
+ }
}