219 lines
4.3 KiB
Java
219 lines
4.3 KiB
Java
package net.schueller.peertube.model;
|
|
|
|
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 String serverHost;
|
|
private Boolean isLocal;
|
|
private String accountName;
|
|
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;
|
|
|
|
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 String getServerHost() {
|
|
return serverHost;
|
|
}
|
|
|
|
public void setServerHost(String serverHost) {
|
|
this.serverHost = serverHost;
|
|
}
|
|
|
|
public Boolean getLocal() {
|
|
return isLocal;
|
|
}
|
|
|
|
public void setLocal(Boolean local) {
|
|
isLocal = local;
|
|
}
|
|
|
|
public String getAccountName() {
|
|
return accountName;
|
|
}
|
|
|
|
public void setAccountName(String accountName) {
|
|
this.accountName = accountName;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|