diff options
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 | 9 |
1 files changed, 9 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 b7bc6547..e314624d 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 @@ -3,6 +3,7 @@ package com.juick.server.api.activity.model; public class Person extends ActivityObject { private String name; + private String preferredUsername; private Image icon; private String inbox; private String outbox; @@ -79,4 +80,12 @@ public class Person extends ActivityObject { public void setPublicKey(Key publicKey) { this.publicKey = publicKey; } + + public String getPreferredUsername() { + return preferredUsername; + } + + public void setPreferredUsername(String preferredUsername) { + this.preferredUsername = preferredUsername; + } } |