2018-04-29 14:21:19 +02:00
/ * *
* Project - HomeFlix
*
2019-01-08 17:10:33 +01:00
* Copyright 2018 - 2019 < @Seil0 >
2018-04-29 14:21:19 +02:00
*
* 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 .
*
* /
2019-01-08 17:10:33 +01:00
2020-04-22 18:29:39 +02:00
package org.mosad.homeflix.datatypes ;
2018-04-29 14:21:19 +02:00
public class OMDbAPIResponseDataType {
2020-04-22 18:29:39 +02:00
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 = " " ;
2018-04-29 14:21:19 +02:00
/ * *
* 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 ) {
2020-04-22 18:29:39 +02:00
this . year = year = = null ? " N/A " : year ;
2018-04-29 14:21:19 +02:00
}
public String getRated ( ) {
return rated ;
}
public void setRated ( String rated ) {
2020-04-22 18:29:39 +02:00
this . rated = rated = = null ? " N/A " : rated ;
2018-04-29 14:21:19 +02:00
}
public String getReleased ( ) {
return released ;
}
public void setReleased ( String released ) {
2020-04-22 18:29:39 +02:00
this . released = released = = null ? " N/A " : released ;
2018-04-29 14:21:19 +02:00
}
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 ) {
2020-04-22 18:29:39 +02:00
this . director = director = = null ? " N/A " : director ;
2018-04-29 14:21:19 +02:00
}
public String getWriter ( ) {
return writer ;
}
public void setWriter ( String writer ) {
2020-04-22 18:29:39 +02:00
this . writer = writer = = null ? " N/A " : writer ;
2018-04-29 14:21:19 +02:00
}
public String getActors ( ) {
return actors ;
}
public void setActors ( String actors ) {
2020-04-22 18:29:39 +02:00
this . actors = actors = = null ? " N/A " : actors ;
2018-04-29 14:21:19 +02:00
}
public String getPlot ( ) {
return plot ;
}
public void setPlot ( String plot ) {
2020-04-22 18:29:39 +02:00
this . plot = plot = = null ? " N/A " : plot ;
2018-04-29 14:21:19 +02:00
}
public String getLanguage ( ) {
return language ;
}
public void setLanguage ( String language ) {
2020-04-22 18:29:39 +02:00
this . language = language = = null ? " N/A " : language ;
2018-04-29 14:21:19 +02:00
}
public String getCountry ( ) {
return country ;
}
public void setCountry ( String country ) {
2020-04-22 18:29:39 +02:00
this . country = country = = null ? " N/A " : country ;
2018-04-29 14:21:19 +02:00
}
public String getAwards ( ) {
return awards ;
}
public void setAwards ( String awards ) {
2020-04-22 18:29:39 +02:00
this . awards = awards = = null ? " N/A " : awards ;
2018-04-29 14:21:19 +02:00
}
public String getPoster ( ) {
return poster ;
}
public void setPoster ( String poster ) {
this . poster = poster ;
}
public String getMetascore ( ) {
return metascore ;
}
public void setMetascore ( String metascore ) {
2020-04-22 18:29:39 +02:00
this . metascore = metascore = = null ? " N/A " : metascore ;
2018-04-29 14:21:19 +02:00
}
public String getImdbRating ( ) {
return imdbRating ;
}
public void setImdbRating ( String imdbRating ) {
2020-04-22 18:29:39 +02:00
this . imdbRating = imdbRating = = null ? " N/A " : imdbRating ;
2018-04-29 14:21:19 +02:00
}
public String getImdbVotes ( ) {
return imdbVotes ;
}
public void setImdbVotes ( String imdbVotes ) {
2020-04-22 18:29:39 +02:00
this . imdbVotes = imdbVotes = = null ? " N/A " : imdbVotes ;
2018-04-29 14:21:19 +02:00
}
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 ) {
2020-04-22 18:29:39 +02:00
this . dvd = dvd = = null ? " N/A " : dvd ;
2018-04-29 14:21:19 +02:00
}
public String getBoxOffice ( ) {
return boxOffice ;
}
public void setBoxOffice ( String boxOffice ) {
2020-04-22 18:29:39 +02:00
this . boxOffice = boxOffice = = null ? " N/A " : boxOffice ;
2018-04-29 14:21:19 +02:00
}
public String getProduction ( ) {
return production ;
}
public void setProduction ( String production ) {
2020-04-22 18:29:39 +02:00
this . production = production = = null ? " N/A " : production ;
2018-04-29 14:21:19 +02:00
}
public String getWebsite ( ) {
return website ;
}
public void setWebsite ( String website ) {
2020-04-22 18:29:39 +02:00
this . website = website = = null ? " N/A " : website ;
2018-04-29 14:21:19 +02:00
}
public String getResponse ( ) {
return response ;
}
public void setResponse ( String response ) {
this . response = response ;
}
}