/* * Copyright (C) 2008-2021, Juick * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ package com.juick.www.api.activity.model.objects; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.juick.www.api.activity.model.Context; public class Actor extends Context { private String preferredUsername; private boolean suspended; private String inbox; private String outbox; private String following; private String followers; private Key publicKey; @JsonTypeInfo(use = JsonTypeInfo.Id.NONE) public Key getPublicKey() { return publicKey; } public void setPublicKey(Key publicKey) { this.publicKey = publicKey; } public String getOutbox() { return outbox; } public void setOutbox(String outbox) { this.outbox = outbox; } public String getInbox() { return inbox; } 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 String getPreferredUsername() { return preferredUsername; } public void setPreferredUsername(String preferredUsername) { this.preferredUsername = preferredUsername; } public boolean isSuspended() { return suspended; } public void setSuspended(boolean suspended) { this.suspended = suspended; } }