TubeLab-App-Android/app/src/main/java/app/fedilab/fedilabtube/client/entities/PeertubeNotification.java

100 lines
2.5 KiB
Java

package app.fedilab.fedilabtube.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 java.util.Date;
@SuppressWarnings("unused")
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;
}
}