286 lines
5.6 KiB
Java
286 lines
5.6 KiB
Java
package net.schueller.peertube.model;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Date;
|
|
|
|
public class Video {
|
|
|
|
private Integer id;
|
|
private String uuid;
|
|
private String name;
|
|
private String category;
|
|
private String categoryLabel;
|
|
private String licence;
|
|
private String licenceLabel;
|
|
private String language;
|
|
private String languageLabel;
|
|
private Boolean nsfw;
|
|
private String description;
|
|
private Boolean isLocal;
|
|
private Integer duration;
|
|
private Integer views;
|
|
private Integer likes;
|
|
private Integer dislikes;
|
|
private String thumbnailPath;
|
|
private String previewPath;
|
|
private String embedPath;
|
|
private Date createdAt;
|
|
private Date updatedAt;
|
|
|
|
private String privacyLabel;
|
|
private Integer privacy;
|
|
private String support;
|
|
private String descriptionPath;
|
|
|
|
private Channel channel;
|
|
private Account account;
|
|
private ArrayList tags;
|
|
|
|
private Boolean commentsEnabled;
|
|
private ArrayList<File> files;
|
|
|
|
public Video() {
|
|
|
|
}
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getUuid() {
|
|
return uuid;
|
|
}
|
|
|
|
public void setUuid(String uuid) {
|
|
this.uuid = uuid;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getCategory() {
|
|
return category;
|
|
}
|
|
|
|
public void setCategory(String category) {
|
|
this.category = category;
|
|
}
|
|
|
|
public String getCategoryLabel() {
|
|
return categoryLabel;
|
|
}
|
|
|
|
public void setCategoryLabel(String categoryLabel) {
|
|
this.categoryLabel = categoryLabel;
|
|
}
|
|
|
|
public String getLicence() {
|
|
return licence;
|
|
}
|
|
|
|
public void setLicence(String licence) {
|
|
this.licence = licence;
|
|
}
|
|
|
|
public String getLicenceLabel() {
|
|
return licenceLabel;
|
|
}
|
|
|
|
public void setLicenceLabel(String licenceLabel) {
|
|
this.licenceLabel = licenceLabel;
|
|
}
|
|
|
|
public String getLanguage() {
|
|
return language;
|
|
}
|
|
|
|
public void setLanguage(String language) {
|
|
this.language = language;
|
|
}
|
|
|
|
public String getLanguageLabel() {
|
|
return languageLabel;
|
|
}
|
|
|
|
public void setLanguageLabel(String languageLabel) {
|
|
this.languageLabel = languageLabel;
|
|
}
|
|
|
|
public Boolean getNsfw() {
|
|
return nsfw;
|
|
}
|
|
|
|
public void setNsfw(Boolean nsfw) {
|
|
this.nsfw = nsfw;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
public Boolean getLocal() {
|
|
return isLocal;
|
|
}
|
|
|
|
public void setLocal(Boolean local) {
|
|
isLocal = local;
|
|
}
|
|
|
|
public Integer getDuration() {
|
|
return duration;
|
|
}
|
|
|
|
public void setDuration(Integer duration) {
|
|
this.duration = duration;
|
|
}
|
|
|
|
public Integer getViews() {
|
|
return views;
|
|
}
|
|
|
|
public void setViews(Integer views) {
|
|
this.views = views;
|
|
}
|
|
|
|
public Integer getLikes() {
|
|
return likes;
|
|
}
|
|
|
|
public void setLikes(Integer likes) {
|
|
this.likes = likes;
|
|
}
|
|
|
|
public Integer getDislikes() {
|
|
return dislikes;
|
|
}
|
|
|
|
public void setDislikes(Integer dislikes) {
|
|
this.dislikes = dislikes;
|
|
}
|
|
|
|
public String getThumbnailPath() {
|
|
return thumbnailPath;
|
|
}
|
|
|
|
public void setThumbnailPath(String thumbnailPath) {
|
|
this.thumbnailPath = thumbnailPath;
|
|
}
|
|
|
|
public String getPreviewPath() {
|
|
return previewPath;
|
|
}
|
|
|
|
public void setPreviewPath(String previewPath) {
|
|
this.previewPath = previewPath;
|
|
}
|
|
|
|
public String getEmbedPath() {
|
|
return embedPath;
|
|
}
|
|
|
|
public void setEmbedPath(String embedPath) {
|
|
this.embedPath = embedPath;
|
|
}
|
|
|
|
public Date getCreatedAt() {
|
|
return createdAt;
|
|
}
|
|
|
|
public void setCreatedAt(Date createdAt) {
|
|
this.createdAt = createdAt;
|
|
}
|
|
|
|
public Date getUpdatedAt() {
|
|
return updatedAt;
|
|
}
|
|
|
|
public void setUpdatedAt(Date updatedAt) {
|
|
this.updatedAt = updatedAt;
|
|
}
|
|
|
|
public String getPrivacyLabel() {
|
|
return privacyLabel;
|
|
}
|
|
|
|
public void setPrivacyLabel(String privacyLabel) {
|
|
this.privacyLabel = privacyLabel;
|
|
}
|
|
|
|
public Integer getPrivacy() {
|
|
return privacy;
|
|
}
|
|
|
|
public void setPrivacy(Integer privacy) {
|
|
this.privacy = privacy;
|
|
}
|
|
|
|
public String getSupport() {
|
|
return support;
|
|
}
|
|
|
|
public void setSupport(String support) {
|
|
this.support = support;
|
|
}
|
|
|
|
public String getDescriptionPath() {
|
|
return descriptionPath;
|
|
}
|
|
|
|
public void setDescriptionPath(String descriptionPath) {
|
|
this.descriptionPath = descriptionPath;
|
|
}
|
|
|
|
public Channel getChannel() {
|
|
return channel;
|
|
}
|
|
|
|
public void setChannel(Channel channel) {
|
|
this.channel = channel;
|
|
}
|
|
|
|
public Account getAccount() {
|
|
return account;
|
|
}
|
|
|
|
public void setAccount(Account account) {
|
|
this.account = account;
|
|
}
|
|
|
|
public ArrayList getTags() {
|
|
return tags;
|
|
}
|
|
|
|
public void setTags(ArrayList tags) {
|
|
this.tags = tags;
|
|
}
|
|
|
|
public Boolean getCommentsEnabled() {
|
|
return commentsEnabled;
|
|
}
|
|
|
|
public void setCommentsEnabled(Boolean commentsEnabled) {
|
|
this.commentsEnabled = commentsEnabled;
|
|
}
|
|
|
|
public ArrayList<File> getFiles() {
|
|
return files;
|
|
}
|
|
|
|
public void setFiles(ArrayList<File> files) {
|
|
this.files = files;
|
|
}
|
|
}
|