111 lines
2.7 KiB
Java
111 lines
2.7 KiB
Java
/*
|
|
* Copyright (C) 2020 Stefan Schüller <sschueller@techdroid.com>
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program 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 Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
package net.schueller.peertube.model;
|
|
|
|
public class File {
|
|
private Integer id;
|
|
private String fileDownloadUrl;
|
|
private Integer fps;
|
|
private Resolution resolution;
|
|
private String resolutionLabel;
|
|
private String magnetUri;
|
|
private Integer size;
|
|
private String torrentUrl;
|
|
private String torrentDownloadUrl;
|
|
private String fileUrl;
|
|
|
|
public Integer getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Integer id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getFileDownloadUrl() {
|
|
return fileDownloadUrl;
|
|
}
|
|
|
|
public void setFileDownloadUrl(String fileDownloadUrl) {
|
|
this.fileDownloadUrl = fileDownloadUrl;
|
|
}
|
|
|
|
public Integer getFps() {
|
|
return fps;
|
|
}
|
|
|
|
public void setFps(Integer fps) {
|
|
this.fps = fps;
|
|
}
|
|
|
|
public Resolution getResolution() {
|
|
return resolution;
|
|
}
|
|
|
|
public void setResolution(Resolution resolution) {
|
|
this.resolution = resolution;
|
|
}
|
|
|
|
public String getResolutionLabel() {
|
|
return resolutionLabel;
|
|
}
|
|
|
|
public void setResolutionLabel(String resolutionLabel) {
|
|
this.resolutionLabel = resolutionLabel;
|
|
}
|
|
|
|
public String getMagnetUri() {
|
|
return magnetUri;
|
|
}
|
|
|
|
public void setMagnetUri(String magnetUri) {
|
|
this.magnetUri = magnetUri;
|
|
}
|
|
|
|
public Integer getSize() {
|
|
return size;
|
|
}
|
|
|
|
public void setSize(Integer size) {
|
|
this.size = size;
|
|
}
|
|
|
|
public String getTorrentUrl() {
|
|
return torrentUrl;
|
|
}
|
|
|
|
public void setTorrentUrl(String torrentUrl) {
|
|
this.torrentUrl = torrentUrl;
|
|
}
|
|
|
|
public String getTorrentDownloadUrl() {
|
|
return torrentDownloadUrl;
|
|
}
|
|
|
|
public void setTorrentDownloadUrl(String torrentDownloadUrl) {
|
|
this.torrentDownloadUrl = torrentDownloadUrl;
|
|
}
|
|
|
|
public String getFileUrl() {
|
|
return fileUrl;
|
|
}
|
|
|
|
public void setFileUrl(String fileUrl) {
|
|
this.fileUrl = fileUrl;
|
|
}
|
|
}
|