summaryrefslogtreecommitdiffstats
path: root/app/src/main/java/app/fedilab/android/client/Entities/AdminAction.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/app/fedilab/android/client/Entities/AdminAction.java')
-rw-r--r--app/src/main/java/app/fedilab/android/client/Entities/AdminAction.java121
1 files changed, 121 insertions, 0 deletions
diff --git a/app/src/main/java/app/fedilab/android/client/Entities/AdminAction.java b/app/src/main/java/app/fedilab/android/client/Entities/AdminAction.java
new file mode 100644
index 000000000..05703feb7
--- /dev/null
+++ b/app/src/main/java/app/fedilab/android/client/Entities/AdminAction.java
@@ -0,0 +1,121 @@
+package app.fedilab.android.client.Entities;
+
+import app.fedilab.android.client.API;
+
+/* Copyright 2019 Thomas Schneider
+ *
+ * This file is a part of Fedilab
+ *
+ * This program is free software; you can redistribute it and/or modify it under the terms of the
+ * GNU General Public License as published by the Free Software Foundation; either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * Fedilab 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 General
+ * Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with Fedilab; if not,
+ * see <http://www.gnu.org/licenses>. */
+public class AdminAction {
+
+
+
+ private API.adminAction type;
+ private boolean send_email_notification;
+ private String text;
+ private boolean unresolved;
+ private boolean local, remote, active, pending, disabled, silenced, suspended;
+
+
+ public boolean isLocal() {
+ return local;
+ }
+
+ public void setLocal(boolean local) {
+ this.local = local;
+ }
+
+ public boolean isRemote() {
+ return remote;
+ }
+
+ public void setRemote(boolean remote) {
+ this.remote = remote;
+ }
+
+ public boolean isActive() {
+ return active;
+ }
+
+ public void setActive(boolean active) {
+ this.active = active;
+ }
+
+ public boolean isPending() {
+ return pending;
+ }
+
+ public void setPending(boolean pending) {
+ this.pending = pending;
+ }
+
+ public boolean isDisabled() {
+ return disabled;
+ }
+
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ public boolean isSilenced() {
+ return silenced;
+ }
+
+ public void setSilenced(boolean silenced) {
+ this.silenced = silenced;
+ }
+
+ public boolean isSuspended() {
+ return suspended;
+ }
+
+ public void setSuspended(boolean suspended) {
+ this.suspended = suspended;
+ }
+
+
+
+ public boolean isUnresolved() {
+ return unresolved;
+ }
+
+ public void setUnresolved(boolean unresolved) {
+ this.unresolved = unresolved;
+ }
+
+
+ public boolean isSend_email_notification() {
+ return send_email_notification;
+ }
+
+ public void setSend_email_notification(boolean send_email_notification) {
+ this.send_email_notification = send_email_notification;
+ }
+
+ public String getText() {
+ return text;
+ }
+
+ public void setText(String text) {
+ this.text = text;
+ }
+
+
+ public API.adminAction getType() {
+ return type;
+ }
+
+ public void setType(API.adminAction type) {
+ this.type = type;
+ }
+}