136 lines
4.0 KiB
C#
136 lines
4.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
using TMDbLib.Objects.Changes;
|
|
using TMDbLib.Objects.General;
|
|
using TMDbLib.Objects.Reviews;
|
|
using TMDbLib.Objects.Search;
|
|
|
|
namespace TMDbLib.Objects.Movies
|
|
{
|
|
public class Movie
|
|
{
|
|
[JsonProperty("account_states")]
|
|
public AccountState AccountStates { get; set; }
|
|
|
|
[JsonProperty("adult")]
|
|
public bool Adult { get; set; }
|
|
|
|
[JsonProperty("alternative_titles")]
|
|
public AlternativeTitles AlternativeTitles { get; set; }
|
|
|
|
[JsonProperty("backdrop_path")]
|
|
public string BackdropPath { get; set; }
|
|
|
|
[JsonProperty("belongs_to_collection")]
|
|
public SearchCollection BelongsToCollection { get; set; }
|
|
|
|
[JsonProperty("budget")]
|
|
public long Budget { get; set; }
|
|
|
|
[JsonProperty("changes")]
|
|
public ChangesContainer Changes { get; set; }
|
|
|
|
[JsonProperty("credits")]
|
|
public Credits Credits { get; set; }
|
|
|
|
[JsonProperty("genres")]
|
|
public List<Genre> 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("imdb_id")]
|
|
public string ImdbId { get; set; }
|
|
|
|
[JsonProperty("keywords")]
|
|
public KeywordsContainer Keywords { get; set; }
|
|
|
|
[JsonProperty("lists")]
|
|
public SearchContainer<ListResult> Lists { get; set; }
|
|
|
|
[JsonProperty("original_language")]
|
|
public string OriginalLanguage { get; set; }
|
|
|
|
[JsonProperty("original_title")]
|
|
public string OriginalTitle { 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<ProductionCompany> ProductionCompanies { get; set; }
|
|
|
|
[JsonProperty("production_countries")]
|
|
public List<ProductionCountry> ProductionCountries { get; set; }
|
|
|
|
[JsonProperty("release_date")]
|
|
public DateTime? ReleaseDate { get; set; }
|
|
|
|
[JsonProperty("release_dates")]
|
|
public ResultContainer<ReleaseDatesContainer> ReleaseDates { get; set; }
|
|
|
|
[JsonProperty("external_ids")]
|
|
public ExternalIdsMovie ExternalIds { get; set; }
|
|
|
|
[JsonProperty("releases")]
|
|
public Releases Releases { get; set; }
|
|
|
|
[JsonProperty("revenue")]
|
|
public long Revenue { get; set; }
|
|
|
|
[JsonProperty("reviews")]
|
|
public SearchContainer<ReviewBase> Reviews { get; set; }
|
|
|
|
[JsonProperty("runtime")]
|
|
public int? Runtime { get; set; }
|
|
|
|
[JsonProperty("similar")]
|
|
public SearchContainer<SearchMovie> Similar { get; set; }
|
|
|
|
[JsonProperty("recommendations")]
|
|
public SearchContainer<SearchMovie> Recommendations { get; set; }
|
|
|
|
[JsonProperty("spoken_languages")]
|
|
public List<SpokenLanguage> SpokenLanguages { get; set; }
|
|
|
|
[JsonProperty("status")]
|
|
public string Status { get; set; }
|
|
|
|
[JsonProperty("tagline")]
|
|
public string Tagline { get; set; }
|
|
|
|
[JsonProperty("title")]
|
|
public string Title { get; set; }
|
|
|
|
[JsonProperty("translations")]
|
|
public TranslationsContainer Translations { get; set; }
|
|
|
|
[JsonProperty("video")]
|
|
public bool Video { get; set; }
|
|
|
|
[JsonProperty("videos")]
|
|
public ResultContainer<Video> Videos { get; set; }
|
|
|
|
[JsonProperty("watch/providers")]
|
|
public SingleResultContainer<Dictionary<string, WatchProviders>> WatchProviders { get; set; }
|
|
|
|
[JsonProperty("vote_average")]
|
|
public double VoteAverage { get; set; }
|
|
|
|
[JsonProperty("vote_count")]
|
|
public int VoteCount { get; set; }
|
|
}
|
|
} |