2018-08-20 00:52:19 +02:00
|
|
|
package org.schabi.newpipe.extractor.comments;
|
|
|
|
|
|
|
|
import org.schabi.newpipe.extractor.InfoItem;
|
|
|
|
|
2019-04-28 22:03:16 +02:00
|
|
|
import java.util.Calendar;
|
|
|
|
|
|
|
|
public class CommentsInfoItem extends InfoItem {
|
|
|
|
|
|
|
|
private String commentId;
|
|
|
|
private String commentText;
|
|
|
|
private String authorName;
|
|
|
|
private String authorThumbnail;
|
|
|
|
private String authorEndpoint;
|
|
|
|
private String textualPublishedTime;
|
|
|
|
private Calendar publishedTime;
|
|
|
|
private int likeCount;
|
|
|
|
|
|
|
|
public CommentsInfoItem(int serviceId, String url, String name) {
|
|
|
|
super(InfoType.COMMENT, serviceId, url, name);
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getCommentId() {
|
|
|
|
return commentId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCommentId(String commentId) {
|
|
|
|
this.commentId = commentId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getCommentText() {
|
|
|
|
return commentText;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCommentText(String commentText) {
|
|
|
|
this.commentText = commentText;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getAuthorName() {
|
|
|
|
return authorName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAuthorName(String authorName) {
|
|
|
|
this.authorName = authorName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getAuthorThumbnail() {
|
|
|
|
return authorThumbnail;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAuthorThumbnail(String authorThumbnail) {
|
|
|
|
this.authorThumbnail = authorThumbnail;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getAuthorEndpoint() {
|
|
|
|
return authorEndpoint;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAuthorEndpoint(String authorEndpoint) {
|
|
|
|
this.authorEndpoint = authorEndpoint;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getTextualPublishedTime() {
|
|
|
|
return textualPublishedTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setTextualPublishedTime(String textualPublishedTime) {
|
|
|
|
this.textualPublishedTime = textualPublishedTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Calendar getPublishedTime() {
|
|
|
|
return publishedTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPublishedTime(Calendar publishedTime) {
|
|
|
|
this.publishedTime = publishedTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getLikeCount() {
|
|
|
|
return likeCount;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLikeCount(int likeCount) {
|
|
|
|
this.likeCount = likeCount;
|
|
|
|
}
|
2018-08-20 00:52:19 +02:00
|
|
|
}
|