using System; using System.Collections.Generic; using Newtonsoft.Json; using TMDbLib.Objects.Changes; using TMDbLib.Objects.General; using TMDbLib.Objects.Movies; using TMDbLib.Objects.Reviews; using TMDbLib.Objects.Search; using TMDbLib.Utilities.Converters; namespace TMDbLib.Objects.TvShows { public class TvShow { [JsonProperty("account_states")] public AccountState AccountStates { get; set; } [JsonProperty("alternative_titles")] public ResultContainer AlternativeTitles { get; set; } [JsonProperty("backdrop_path")] public string BackdropPath { get; set; } [JsonProperty("changes")] public ChangesContainer Changes { get; set; } [JsonProperty("content_ratings")] public ResultContainer ContentRatings { get; set; } [JsonProperty("created_by")] public List CreatedBy { get; set; } [JsonProperty("credits")] public Credits Credits { get; set; } [JsonProperty("aggregate_credits")] public CreditsAggregate AggregateCredits { get; set; } [JsonProperty("episode_groups")] public ResultContainer EpisodeGroups { get; set; } [JsonProperty("episode_run_time")] public List EpisodeRunTime { get; set; } [JsonProperty("external_ids")] public ExternalIdsTvShow ExternalIds { get; set; } [JsonProperty("first_air_date")] public DateTime? FirstAirDate { get; set; } [JsonProperty("genre_ids")] [JsonConverter(typeof(TmdbIntArrayAsObjectConverter)) /*#307*/] public List GenreIds { get; set; } [JsonProperty("genres")] public List Genres { get; set; } [JsonProperty("homepage")] public string Homepage { get; set; } [JsonProperty("id")] public int Id { get; set; } [JsonProperty("images")] public Images Images { get; set; } [JsonProperty("in_production")] public bool InProduction { get; set; } [JsonProperty("keywords")] public ResultContainer Keywords { get; set; } /// /// language ISO code ex. en /// [JsonProperty("languages")] public List Languages { get; set; } [JsonProperty("last_air_date")] public DateTime? LastAirDate { get; set; } [JsonProperty("last_episode_to_air")] public TvEpisodeBase LastEpisodeToAir { get; set; } [JsonProperty("name")] public string Name { get; set; } [JsonProperty("next_episode_to_air")] public TvEpisodeBase NextEpisodeToAir { get; set; } [JsonProperty("networks")] public List Networks { get; set; } [JsonProperty("number_of_episodes")] [JsonConverter(typeof(TmdbNullIntAsZero))] public int NumberOfEpisodes { get; set; } [JsonProperty("number_of_seasons")] [JsonConverter(typeof(TmdbNullIntAsZero))] public int NumberOfSeasons { get; set; } [JsonProperty("original_language")] public string OriginalLanguage { get; set; } [JsonProperty("original_name")] public string OriginalName { get; set; } /// /// Country ISO code ex. US /// [JsonProperty("origin_country")] public List OriginCountry { get; set; } [JsonProperty("overview")] public string Overview { get; set; } [JsonProperty("popularity")] public double Popularity { get; set; } [JsonProperty("poster_path")] public string PosterPath { get; set; } [JsonProperty("production_companies")] public List ProductionCompanies { get; set; } [JsonProperty("production_countries")] public List ProductionCountries { get; set; } [JsonProperty("recommendations")] public ResultContainer Recommendations { get; set; } [JsonProperty("reviews")] public SearchContainer Reviews { get; set; } [JsonProperty("seasons")] public List Seasons { get; set; } [JsonProperty("similar")] public ResultContainer Similar { get; set; } [JsonProperty("spoken_languages")] public List SpokenLanguages { get; set; } [JsonProperty("status")] public string Status { get; set; } [JsonProperty("tagline")] public string Tagline { get; set; } [JsonProperty("translations")] public TranslationsContainer Translations { get; set; } [JsonProperty("type")] public string Type { get; set; } [JsonProperty("videos")] public ResultContainer