Updated TV
parent
27dcc56492
commit
c8e71db71f
@ -0,0 +1,196 @@
|
||||
/*
|
||||
* Copyright (c) 2004-2015 Stuart Boston
|
||||
*
|
||||
* This file is part of TheMovieDB API.
|
||||
*
|
||||
* TheMovieDB API 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
|
||||
* any later version.
|
||||
*
|
||||
* TheMovieDB API 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 TheMovieDB API. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
package com.omertron.themoviedbapi.model.tv;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.omertron.themoviedbapi.model.Genre;
|
||||
import com.omertron.themoviedbapi.model.movie.ProductionCompany;
|
||||
import com.omertron.themoviedbapi.model.network.Network;
|
||||
import com.omertron.themoviedbapi.model.person.PersonBasic;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Stuart
|
||||
*/
|
||||
public class TVInfo extends TVBasic {
|
||||
|
||||
@JsonProperty("created_by")
|
||||
private List<PersonBasic> createdBy;
|
||||
@JsonProperty("episode_run_time")
|
||||
private List<Integer> episodeRunTime;
|
||||
@JsonProperty("genres")
|
||||
private List<Genre> genres;
|
||||
@JsonProperty("homepage")
|
||||
private String homepage;
|
||||
@JsonProperty("in_production")
|
||||
private boolean inProduction;
|
||||
@JsonProperty("languages")
|
||||
private List<String> languages;
|
||||
@JsonProperty("last_air_date")
|
||||
private String lastAirDate;
|
||||
@JsonProperty("networks")
|
||||
private List<Network> networks;
|
||||
@JsonProperty("number_of_episodes")
|
||||
private int numberOfEpisodes;
|
||||
@JsonProperty("number_of_seasons")
|
||||
private int numberOfSeasons;
|
||||
@JsonProperty("original_language")
|
||||
private String originalLanguage;
|
||||
@JsonProperty("overview")
|
||||
private String overview;
|
||||
@JsonProperty("production_companies")
|
||||
private List<ProductionCompany> productionCompanies;
|
||||
@JsonProperty("seasons")
|
||||
private List<TVSeasonBasic> seasons;
|
||||
@JsonProperty("status")
|
||||
private String status;
|
||||
@JsonProperty("type")
|
||||
private String type;
|
||||
|
||||
public List<PersonBasic> getCreatedBy() {
|
||||
return createdBy;
|
||||
}
|
||||
|
||||
public void setCreatedBy(List<PersonBasic> createdBy) {
|
||||
this.createdBy = createdBy;
|
||||
}
|
||||
|
||||
public List<Integer> getEpisodeRunTime() {
|
||||
return episodeRunTime;
|
||||
}
|
||||
|
||||
public void setEpisodeRunTime(List<Integer> episodeRunTime) {
|
||||
this.episodeRunTime = episodeRunTime;
|
||||
}
|
||||
|
||||
public List<Genre> getGenres() {
|
||||
return genres;
|
||||
}
|
||||
|
||||
public void setGenres(List<Genre> genres) {
|
||||
this.genres = genres;
|
||||
}
|
||||
|
||||
public String getHomepage() {
|
||||
return homepage;
|
||||
}
|
||||
|
||||
public void setHomepage(String homepage) {
|
||||
this.homepage = homepage;
|
||||
}
|
||||
|
||||
public boolean isInProduction() {
|
||||
return inProduction;
|
||||
}
|
||||
|
||||
public void setInProduction(boolean inProduction) {
|
||||
this.inProduction = inProduction;
|
||||
}
|
||||
|
||||
public List<String> getLanguages() {
|
||||
return languages;
|
||||
}
|
||||
|
||||
public void setLanguages(List<String> languages) {
|
||||
this.languages = languages;
|
||||
}
|
||||
|
||||
public String getLastAirDate() {
|
||||
return lastAirDate;
|
||||
}
|
||||
|
||||
public void setLastAirDate(String lastAirDate) {
|
||||
this.lastAirDate = lastAirDate;
|
||||
}
|
||||
|
||||
public List<Network> getNetworks() {
|
||||
return networks;
|
||||
}
|
||||
|
||||
public void setNetworks(List<Network> networks) {
|
||||
this.networks = networks;
|
||||
}
|
||||
|
||||
public int getNumberOfEpisodes() {
|
||||
return numberOfEpisodes;
|
||||
}
|
||||
|
||||
public void setNumberOfEpisodes(int numberOfEpisodes) {
|
||||
this.numberOfEpisodes = numberOfEpisodes;
|
||||
}
|
||||
|
||||
public int getNumberOfSeasons() {
|
||||
return numberOfSeasons;
|
||||
}
|
||||
|
||||
public void setNumberOfSeasons(int numberOfSeasons) {
|
||||
this.numberOfSeasons = numberOfSeasons;
|
||||
}
|
||||
|
||||
public String getOriginalLanguage() {
|
||||
return originalLanguage;
|
||||
}
|
||||
|
||||
public void setOriginalLanguage(String originalLanguage) {
|
||||
this.originalLanguage = originalLanguage;
|
||||
}
|
||||
|
||||
public String getOverview() {
|
||||
return overview;
|
||||
}
|
||||
|
||||
public void setOverview(String overview) {
|
||||
this.overview = overview;
|
||||
}
|
||||
|
||||
public List<ProductionCompany> getProductionCompanies() {
|
||||
return productionCompanies;
|
||||
}
|
||||
|
||||
public void setProductionCompanies(List<ProductionCompany> productionCompanies) {
|
||||
this.productionCompanies = productionCompanies;
|
||||
}
|
||||
|
||||
public List<TVSeasonBasic> getSeasons() {
|
||||
return seasons;
|
||||
}
|
||||
|
||||
public void setSeasons(List<TVSeasonBasic> seasons) {
|
||||
this.seasons = seasons;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue