MovieResult.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. #pragma warning disable CS1591
  2. using System.Collections.Generic;
  3. using MediaBrowser.Providers.Plugins.Tmdb.Models.General;
  4. namespace MediaBrowser.Providers.Plugins.Tmdb.Models.Movies
  5. {
  6. public class MovieResult
  7. {
  8. public bool Adult { get; set; }
  9. public string Backdrop_Path { get; set; }
  10. public BelongsToCollection Belongs_To_Collection { get; set; }
  11. public long Budget { get; set; }
  12. public List<Genre> Genres { get; set; }
  13. public string Homepage { get; set; }
  14. public int Id { get; set; }
  15. public string Imdb_Id { get; set; }
  16. public string Original_Title { get; set; }
  17. public string Original_Name { get; set; }
  18. public string Overview { get; set; }
  19. public double Popularity { get; set; }
  20. public string Poster_Path { get; set; }
  21. public List<ProductionCompany> Production_Companies { get; set; }
  22. public List<ProductionCountry> Production_Countries { get; set; }
  23. public string Release_Date { get; set; }
  24. public long Revenue { get; set; }
  25. public int Runtime { get; set; }
  26. public List<SpokenLanguage> Spoken_Languages { get; set; }
  27. public string Status { get; set; }
  28. public string Tagline { get; set; }
  29. public string Title { get; set; }
  30. public string Name { get; set; }
  31. public double Vote_Average { get; set; }
  32. public int Vote_Count { get; set; }
  33. public Casts Casts { get; set; }
  34. public Releases Releases { get; set; }
  35. public Images Images { get; set; }
  36. public Keywords Keywords { get; set; }
  37. public Trailers Trailers { get; set; }
  38. public string GetOriginalTitle()
  39. {
  40. return Original_Name ?? Original_Title;
  41. }
  42. public string GetTitle()
  43. {
  44. return Name ?? Title ?? GetOriginalTitle();
  45. }
  46. }
  47. }