All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.movito.themoviedbapi.model.tv.series.TvSeriesDb Maven / Gradle / Ivy

Go to download

A Java-wrapper around the JSON API provided by TMdB, which is an open database for movie and tv content.

The newest version!
package info.movito.themoviedbapi.model.tv.series;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import info.movito.themoviedbapi.model.core.AccountStates;
import info.movito.themoviedbapi.model.core.Genre;
import info.movito.themoviedbapi.model.core.Language;
import info.movito.themoviedbapi.model.core.NamedIdElement;
import info.movito.themoviedbapi.model.core.ProductionCompany;
import info.movito.themoviedbapi.model.core.ProductionCountry;
import info.movito.themoviedbapi.model.core.ReviewResultsPage;
import info.movito.themoviedbapi.model.core.TvKeywords;
import info.movito.themoviedbapi.model.core.TvSeriesResultsPage;
import info.movito.themoviedbapi.model.core.video.VideoResults;
import info.movito.themoviedbapi.model.core.watchproviders.ProviderResults;
import info.movito.themoviedbapi.model.tv.core.ChangeResults;
import info.movito.themoviedbapi.model.tv.core.Network;
import info.movito.themoviedbapi.model.tv.core.TvEpisode;
import info.movito.themoviedbapi.model.tv.core.TvSeason;
import info.movito.themoviedbapi.model.tv.core.credits.AggregateCredits;
import info.movito.themoviedbapi.model.tv.core.credits.Credits;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Holger Brandl, c-eg
 */
@Data
@EqualsAndHashCode(callSuper = true)
@JsonTypeInfo(use = JsonTypeInfo.Id.NONE)
public class TvSeriesDb extends NamedIdElement {
    @JsonProperty("adult")
    private Boolean adult;

    @JsonProperty("backdrop_path")
    private String backdropPath;

    @JsonProperty("created_by")
    private List createdBy;

    @JsonProperty("episode_run_time")
    private List episodeRunTime;

    @JsonProperty("first_air_date")
    private String firstAirDate;

    @JsonProperty("genres")
    private List genres;

    @JsonProperty("homepage")
    private String homepage;

    @JsonProperty("in_production")
    private Boolean inProduction;

    @JsonProperty("languages")
    private List languages;

    @JsonProperty("last_air_date")
    private String lastAirDate;

    @JsonProperty("last_episode_to_air")
    private TvEpisode lastEpisodeToAir;

    @JsonProperty("next_episode_to_air")
    private TvEpisode nextEpisodeToAir;

    @JsonProperty("networks")
    private List networks;

    @JsonProperty("number_of_episodes")
    private Integer numberOfEpisodes;

    @JsonProperty("number_of_seasons")
    private Integer numberOfSeasons;

    @JsonProperty("origin_country")
    private List originCountry;

    @JsonProperty("original_language")
    private String originalLanguage;

    @JsonProperty("original_name")
    private String originalName;

    @JsonProperty("overview")
    private String overview;

    @JsonProperty("popularity")
    private Double popularity;

    @JsonProperty("poster_path")
    private String posterPath;

    @JsonProperty("production_companies")
    private List productionCompanies;

    @JsonProperty("production_countries")
    private List productionCountries;

    @JsonProperty("seasons")
    private List seasons;

    @JsonProperty("spoken_languages")
    private List spokenLanguages;

    @JsonProperty("status")
    private String status;

    @JsonProperty("tagline")
    private String tagline;

    @JsonProperty("type")
    private String type;

    @JsonProperty("vote_average")
    private Double voteAverage;

    @JsonProperty("vote_count")
    private Integer voteCount;

    /* append to responses */

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("account_states")
    private AccountStates accountStates;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("aggregate_credits")
    private AggregateCredits aggregateCredits;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("alternative_titles")
    private AlternativeTitleResults alternativeTitles;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("changes")
    private ChangeResults changes;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("content_ratings")
    private ContentRatingResults contentRatings;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("credits")
    private Credits credits;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("episode_groups")
    private EpisodeGroupResults episodeGroups;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("external_ids")
    private ExternalIds externalIds;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("images")
    private Images images;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("keywords")
    private TvKeywords keywords;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("lists")
    private TvSeriesListResultsPage lists;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("recommendations")
    private TvSeriesResultsPage recommendations;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("reviews")
    private ReviewResultsPage reviews;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("screened_theatrically")
    private ScreenedTheatricallyResults screenedTheatrically;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("similar")
    private TvSeriesResultsPage similar;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("translations")
    private Translations translations;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("videos")
    private VideoResults videos;

    /** Can be null if not appended to the request (append to response). */
    @JsonProperty("watch/providers")
    private ProviderResults watchProviders;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy