fedilab-Android-App/app/src/main/java/app/fedilab/android/client/Entities/PeertubeNotification.java

103 lines
2.6 KiB
Java

/* Copyright 2017 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>. */
package app.fedilab.android.client.Entities;
import java.util.Date;
/**
* Created by Thomas on 23/01/2019.
*/
public class PeertubeNotification {
private String id;
private boolean read;
private Date updatedAt, createdAt;
private int type;
private PeertubeComment peertubeComment;
private PeertubeVideoNotification peertubeVideoNotification;
private PeertubeActorFollow peertubeActorFollow;
public PeertubeNotification(){};
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public boolean isRead() {
return read;
}
public void setRead(boolean read) {
this.read = read;
}
public Date getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(Date updatedAt) {
this.updatedAt = updatedAt;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public PeertubeComment getPeertubeComment() {
return peertubeComment;
}
public void setPeertubeComment(PeertubeComment peertubeComment) {
this.peertubeComment = peertubeComment;
}
public PeertubeActorFollow getPeertubeActorFollow() {
return peertubeActorFollow;
}
public void setPeertubeActorFollow(PeertubeActorFollow peertubeActorFollow) {
this.peertubeActorFollow = peertubeActorFollow;
}
public PeertubeVideoNotification getPeertubeVideoNotification() {
return peertubeVideoNotification;
}
public void setPeertubeVideoNotification(PeertubeVideoNotification peertubeVideoNotification) {
this.peertubeVideoNotification = peertubeVideoNotification;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
}