Browse Source
* added episode plot support * fixed omdb api search not working correctlypull/5/head
6 changed files with 484 additions and 193 deletions
@ -0,0 +1,267 @@
|
||||
/** |
||||
* Project-HomeFlix |
||||
* |
||||
* Copyright 2018 <@Seil0> |
||||
* |
||||
* 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. |
||||
* |
||||
* 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 General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program; if not, write to the Free Software |
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
||||
* MA 02110-1301, USA. |
||||
* |
||||
*/ |
||||
package kellerkinder.HomeFlix.datatypes; |
||||
|
||||
public class OMDbAPIResponseDataType { |
||||
|
||||
private String title; |
||||
private String year; |
||||
private String rated; |
||||
private String released; |
||||
private String season; |
||||
private String episode; |
||||
private String runtime; |
||||
private String genre; |
||||
private String director; |
||||
private String writer; |
||||
private String actors; |
||||
private String plot; |
||||
private String language; |
||||
private String country; |
||||
private String awards; |
||||
private String poster; |
||||
private String metascore; |
||||
private String imdbRating; |
||||
private String imdbVotes; |
||||
private String imdbID; |
||||
private String type; |
||||
private String dvd; |
||||
private String boxOffice; |
||||
private String production; |
||||
private String website; |
||||
private String response; |
||||
|
||||
/** |
||||
* OMDbAPIResponseDataType is the data-type for the omdbAPI response |
||||
*/ |
||||
public OMDbAPIResponseDataType() { |
||||
// Auto-generated constructor stub
|
||||
} |
||||
|
||||
public String getTitle() { |
||||
return title; |
||||
} |
||||
|
||||
public void setTitle(String title) { |
||||
this.title = title; |
||||
} |
||||
|
||||
public String getYear() { |
||||
return year; |
||||
} |
||||
|
||||
public void setYear(String year) { |
||||
this.year = year; |
||||
} |
||||
|
||||
public String getRated() { |
||||
return rated; |
||||
} |
||||
|
||||
public void setRated(String rated) { |
||||
this.rated = rated; |
||||
} |
||||
|
||||
public String getReleased() { |
||||
return released; |
||||
} |
||||
|
||||
public void setReleased(String released) { |
||||
this.released = released; |
||||
} |
||||
|
||||
public String getSeason() { |
||||
return season; |
||||
} |
||||
|
||||
public void setSeason(String season) { |
||||
this.season = season; |
||||
} |
||||
|
||||
public String getEpisode() { |
||||
return episode; |
||||
} |
||||
|
||||
public void setEpisode(String episode) { |
||||
this.episode = episode; |
||||
} |
||||
|
||||
public String getRuntime() { |
||||
return runtime; |
||||
} |
||||
|
||||
public void setRuntime(String runtime) { |
||||
this.runtime = runtime; |
||||
} |
||||
|
||||
public String getGenre() { |
||||
return genre; |
||||
} |
||||
|
||||
public void setGenre(String genre) { |
||||
this.genre = genre; |
||||
} |
||||
|
||||
public String getDirector() { |
||||
return director; |
||||
} |
||||
|
||||
public void setDirector(String director) { |
||||
this.director = director; |
||||
} |
||||
|
||||
public String getWriter() { |
||||
return writer; |
||||
} |
||||
|
||||
public void setWriter(String writer) { |
||||
this.writer = writer; |
||||
} |
||||
|
||||
public String getActors() { |
||||
return actors; |
||||
} |
||||
|
||||
public void setActors(String actors) { |
||||
this.actors = actors; |
||||
} |
||||
|
||||
public String getPlot() { |
||||
return plot; |
||||
} |
||||
|
||||
public void setPlot(String plot) { |
||||
this.plot = plot; |
||||
} |
||||
|
||||
public String getLanguage() { |
||||
return language; |
||||
} |
||||
|
||||
public void setLanguage(String language) { |
||||
this.language = language; |
||||
} |
||||
|
||||
public String getCountry() { |
||||
return country; |
||||
} |
||||
|
||||
public void setCountry(String country) { |
||||
this.country = country; |
||||
} |
||||
|
||||
public String getAwards() { |
||||
return awards; |
||||
} |
||||
|
||||
public void setAwards(String awards) { |
||||
this.awards = awards; |
||||
} |
||||
|
||||
public String getPoster() { |
||||
return poster; |
||||
} |
||||
|
||||
public void setPoster(String poster) { |
||||
this.poster = poster; |
||||
} |
||||
|
||||
public String getMetascore() { |
||||
return metascore; |
||||
} |
||||
|
||||
public void setMetascore(String metascore) { |
||||
this.metascore = metascore; |
||||
} |
||||
|
||||
public String getImdbRating() { |
||||
return imdbRating; |
||||
} |
||||
|
||||
public void setImdbRating(String imdbRating) { |
||||
this.imdbRating = imdbRating; |
||||
} |
||||
|
||||
public String getImdbVotes() { |
||||
return imdbVotes; |
||||
} |
||||
|
||||
public void setImdbVotes(String imdbVotes) { |
||||
this.imdbVotes = imdbVotes; |
||||
} |
||||
|
||||
public String getImdbID() { |
||||
return imdbID; |
||||
} |
||||
|
||||
public void setImdbID(String imdbID) { |
||||
this.imdbID = imdbID; |
||||
} |
||||
|
||||
public String getType() { |
||||
return type; |
||||
} |
||||
|
||||
public void setType(String type) { |
||||
this.type = type; |
||||
} |
||||
|
||||
public String getDvd() { |
||||
return dvd; |
||||
} |
||||
|
||||
public void setDvd(String dvd) { |
||||
this.dvd = dvd; |
||||
} |
||||
|
||||
public String getBoxOffice() { |
||||
return boxOffice; |
||||
} |
||||
|
||||
public void setBoxOffice(String boxOffice) { |
||||
this.boxOffice = boxOffice; |
||||
} |
||||
|
||||
public String getProduction() { |
||||
return production; |
||||
} |
||||
|
||||
public void setProduction(String production) { |
||||
this.production = production; |
||||
} |
||||
|
||||
public String getWebsite() { |
||||
return website; |
||||
} |
||||
|
||||
public void setWebsite(String website) { |
||||
this.website = website; |
||||
} |
||||
|
||||
public String getResponse() { |
||||
return response; |
||||
} |
||||
|
||||
public void setResponse(String response) { |
||||
this.response = response; |
||||
} |
||||
} |
Loading…
Reference in new issue