154 lines
4.0 KiB
Java
154 lines
4.0 KiB
Java
package app.fedilab.fedilabtube.client;
|
|
/* 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.List;
|
|
|
|
import app.fedilab.fedilabtube.client.entities.Account;
|
|
import app.fedilab.fedilabtube.client.entities.Error;
|
|
import app.fedilab.fedilabtube.client.entities.Instance;
|
|
import app.fedilab.fedilabtube.client.entities.Peertube;
|
|
import app.fedilab.fedilabtube.client.entities.PeertubeNotification;
|
|
import app.fedilab.fedilabtube.client.entities.Playlist;
|
|
import app.fedilab.fedilabtube.client.entities.PlaylistElement;
|
|
import app.fedilab.fedilabtube.client.entities.Status;
|
|
|
|
@SuppressWarnings("unused")
|
|
public class APIResponse {
|
|
|
|
private List<Account> accounts = null;
|
|
private List<Status> statuses = null;
|
|
private String targetedId = null;
|
|
private List<Peertube> peertubes = null;
|
|
private List<PeertubeNotification> peertubeNotifications = null;
|
|
private List<Playlist> playlists = null;
|
|
private List<String> domains = null;
|
|
private Error error = null;
|
|
private String since_id, max_id;
|
|
private List<PlaylistElement> playlistForVideos;
|
|
private Instance instance;
|
|
private String stringData;
|
|
|
|
public List<Account> getAccounts() {
|
|
return accounts;
|
|
}
|
|
|
|
public void setAccounts(List<Account> accounts) {
|
|
this.accounts = accounts;
|
|
}
|
|
|
|
public Error getError() {
|
|
return error;
|
|
}
|
|
|
|
public void setError(Error error) {
|
|
this.error = error;
|
|
}
|
|
|
|
public String getMax_id() {
|
|
return max_id;
|
|
}
|
|
|
|
public void setMax_id(String max_id) {
|
|
this.max_id = max_id;
|
|
}
|
|
|
|
public String getSince_id() {
|
|
return since_id;
|
|
}
|
|
|
|
public void setSince_id(String since_id) {
|
|
this.since_id = since_id;
|
|
}
|
|
|
|
|
|
public List<String> getDomains() {
|
|
return domains;
|
|
}
|
|
|
|
public void setDomains(List<String> domains) {
|
|
this.domains = domains;
|
|
}
|
|
|
|
|
|
public List<Peertube> getPeertubes() {
|
|
return peertubes;
|
|
}
|
|
|
|
public void setPeertubes(List<Peertube> peertubes) {
|
|
this.peertubes = peertubes;
|
|
}
|
|
|
|
|
|
public List<PeertubeNotification> getPeertubeNotifications() {
|
|
return peertubeNotifications;
|
|
}
|
|
|
|
public void setPeertubeNotifications(List<PeertubeNotification> peertubeNotifications) {
|
|
this.peertubeNotifications = peertubeNotifications;
|
|
}
|
|
|
|
|
|
public List<Playlist> getPlaylists() {
|
|
return playlists;
|
|
}
|
|
|
|
public void setPlaylists(List<Playlist> playlists) {
|
|
this.playlists = playlists;
|
|
}
|
|
|
|
public List<PlaylistElement> getPlaylistForVideos() {
|
|
return playlistForVideos;
|
|
}
|
|
|
|
public void setPlaylistForVideos(List<PlaylistElement> playlistForVideos) {
|
|
this.playlistForVideos = playlistForVideos;
|
|
}
|
|
|
|
|
|
public String getTargetedId() {
|
|
return targetedId;
|
|
}
|
|
|
|
public void setTargetedId(String targetedId) {
|
|
this.targetedId = targetedId;
|
|
}
|
|
|
|
|
|
public Instance getInstance() {
|
|
return instance;
|
|
}
|
|
|
|
public void setInstance(Instance instance) {
|
|
this.instance = instance;
|
|
}
|
|
|
|
public List<Status> getStatuses() {
|
|
return statuses;
|
|
}
|
|
|
|
public void setStatuses(List<Status> statuses) {
|
|
this.statuses = statuses;
|
|
}
|
|
|
|
public String getStringData() {
|
|
return stringData;
|
|
}
|
|
|
|
public void setStringData(String stringData) {
|
|
this.stringData = stringData;
|
|
}
|
|
}
|