fedilab-Android-App/app/src/main/java/app/fedilab/android/peertube/client/entities/ActorFollow.java

63 lines
1.6 KiB
Java

package app.fedilab.android.peertube.client.entities;
/* Copyright 2020 Thomas Schneider
*
* This file is a part of TubeLab
*
* 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.
*
* TubeLab 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 TubeLab; if not,
* see <http://www.gnu.org/licenses>. */
import com.google.gson.annotations.SerializedName;
@SuppressWarnings({"unused", "RedundantSuppression"})
public class ActorFollow {
@SerializedName("id")
private String id;
@SerializedName("follower")
private Actor follower;
@SerializedName("following")
private Actor following;
@SerializedName("state")
private String state;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Actor getFollower() {
return follower;
}
public void setFollower(Actor follower) {
this.follower = follower;
}
public Actor getFollowing() {
return following;
}
public void setFollowing(Actor following) {
this.following = following;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
}