ProgramDetailsDto.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. #nullable disable
  2. using System.Collections.Generic;
  3. using System.Text.Json.Serialization;
  4. namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
  5. {
  6. /// <summary>
  7. /// Program details dto.
  8. /// </summary>
  9. public class ProgramDetailsDto
  10. {
  11. /// <summary>
  12. /// Gets or sets the audience.
  13. /// </summary>
  14. [JsonPropertyName("audience")]
  15. public string Audience { get; set; }
  16. /// <summary>
  17. /// Gets or sets the program id.
  18. /// </summary>
  19. [JsonPropertyName("programID")]
  20. public string ProgramId { get; set; }
  21. /// <summary>
  22. /// Gets or sets the list of titles.
  23. /// </summary>
  24. [JsonPropertyName("titles")]
  25. public List<TitleDto> Titles { get; set; }
  26. /// <summary>
  27. /// Gets or sets the event details object.
  28. /// </summary>
  29. [JsonPropertyName("eventDetails")]
  30. public EventDetailsDto EventDetails { get; set; }
  31. /// <summary>
  32. /// Gets or sets the descriptions.
  33. /// </summary>
  34. [JsonPropertyName("descriptions")]
  35. public DescriptionsProgramDto Descriptions { get; set; }
  36. /// <summary>
  37. /// Gets or sets the original air date.
  38. /// </summary>
  39. [JsonPropertyName("originalAirDate")]
  40. public string OriginalAirDate { get; set; }
  41. /// <summary>
  42. /// Gets or sets the list of genres.
  43. /// </summary>
  44. [JsonPropertyName("genres")]
  45. public List<string> Genres { get; set; }
  46. /// <summary>
  47. /// Gets or sets the episode title.
  48. /// </summary>
  49. [JsonPropertyName("episodeTitle150")]
  50. public string EpisodeTitle150 { get; set; }
  51. /// <summary>
  52. /// Gets or sets the list of metadata.
  53. /// </summary>
  54. [JsonPropertyName("metadata")]
  55. public List<MetadataProgramsDto> Metadata { get; set; }
  56. /// <summary>
  57. /// Gets or sets the list of content raitings.
  58. /// </summary>
  59. [JsonPropertyName("contentRating")]
  60. public List<ContentRatingDto> ContentRating { get; set; }
  61. /// <summary>
  62. /// Gets or sets the list of cast.
  63. /// </summary>
  64. [JsonPropertyName("cast")]
  65. public List<CastDto> Cast { get; set; }
  66. /// <summary>
  67. /// Gets or sets the list of crew.
  68. /// </summary>
  69. [JsonPropertyName("crew")]
  70. public List<CrewDto> Crew { get; set; }
  71. /// <summary>
  72. /// Gets or sets the entity type.
  73. /// </summary>
  74. [JsonPropertyName("entityType")]
  75. public string EntityType { get; set; }
  76. /// <summary>
  77. /// Gets or sets the show type.
  78. /// </summary>
  79. [JsonPropertyName("showType")]
  80. public string ShowType { get; set; }
  81. /// <summary>
  82. /// Gets or sets a value indicating whether there is image artwork.
  83. /// </summary>
  84. [JsonPropertyName("hasImageArtwork")]
  85. public bool HasImageArtwork { get; set; }
  86. /// <summary>
  87. /// Gets or sets the primary image.
  88. /// </summary>
  89. [JsonPropertyName("primaryImage")]
  90. public string PrimaryImage { get; set; }
  91. /// <summary>
  92. /// Gets or sets the thumb image.
  93. /// </summary>
  94. [JsonPropertyName("thumbImage")]
  95. public string ThumbImage { get; set; }
  96. /// <summary>
  97. /// Gets or sets the backdrop image.
  98. /// </summary>
  99. [JsonPropertyName("backdropImage")]
  100. public string BackdropImage { get; set; }
  101. /// <summary>
  102. /// Gets or sets the banner image.
  103. /// </summary>
  104. [JsonPropertyName("bannerImage")]
  105. public string BannerImage { get; set; }
  106. /// <summary>
  107. /// Gets or sets the image id.
  108. /// </summary>
  109. [JsonPropertyName("imageID")]
  110. public string ImageId { get; set; }
  111. /// <summary>
  112. /// Gets or sets the md5.
  113. /// </summary>
  114. [JsonPropertyName("md5")]
  115. public string Md5 { get; set; }
  116. /// <summary>
  117. /// Gets or sets the list of content advisory.
  118. /// </summary>
  119. [JsonPropertyName("contentAdvisory")]
  120. public List<string> ContentAdvisory { get; set; }
  121. /// <summary>
  122. /// Gets or sets the movie object.
  123. /// </summary>
  124. [JsonPropertyName("movie")]
  125. public MovieDto Movie { get; set; }
  126. /// <summary>
  127. /// Gets or sets the list of recommendations.
  128. /// </summary>
  129. [JsonPropertyName("recommendations")]
  130. public List<RecommendationDto> Recommendations { get; set; }
  131. }
  132. }