RecommendedProgramQuery.cs 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. using MediaBrowser.Model.Entities;
  2. using MediaBrowser.Model.Querying;
  3. namespace MediaBrowser.Model.LiveTv
  4. {
  5. public class RecommendedProgramQuery
  6. {
  7. /// <summary>
  8. /// Fields to return within the items, in addition to basic information
  9. /// </summary>
  10. /// <value>The fields.</value>
  11. public ItemFields[] Fields { get; set; }
  12. public bool? EnableImages { get; set; }
  13. public int? ImageTypeLimit { get; set; }
  14. public ImageType[] EnableImageTypes { get; set; }
  15. public bool EnableTotalRecordCount { get; set; }
  16. public RecommendedProgramQuery()
  17. {
  18. EnableTotalRecordCount = true;
  19. }
  20. /// <summary>
  21. /// Gets or sets the user identifier.
  22. /// </summary>
  23. /// <value>The user identifier.</value>
  24. public string UserId { get; set; }
  25. /// <summary>
  26. /// Gets or sets a value indicating whether this instance is airing.
  27. /// </summary>
  28. /// <value><c>true</c> if this instance is airing; otherwise, <c>false</c>.</value>
  29. public bool? IsAiring { get; set; }
  30. /// <summary>
  31. /// Gets or sets a value indicating whether this instance has aired.
  32. /// </summary>
  33. /// <value><c>null</c> if [has aired] contains no value, <c>true</c> if [has aired]; otherwise, <c>false</c>.</value>
  34. public bool? HasAired { get; set; }
  35. /// <summary>
  36. /// The maximum number of items to return
  37. /// </summary>
  38. /// <value>The limit.</value>
  39. public int? Limit { get; set; }
  40. /// <summary>
  41. /// Gets or sets a value indicating whether this instance is movie.
  42. /// </summary>
  43. /// <value><c>null</c> if [is movie] contains no value, <c>true</c> if [is movie]; otherwise, <c>false</c>.</value>
  44. public bool? IsNews { get; set; }
  45. /// <summary>
  46. /// Gets or sets a value indicating whether this instance is movie.
  47. /// </summary>
  48. /// <value><c>null</c> if [is movie] contains no value, <c>true</c> if [is movie]; otherwise, <c>false</c>.</value>
  49. public bool? IsMovie { get; set; }
  50. public bool? IsSeries { get; set; }
  51. /// <summary>
  52. /// Gets or sets a value indicating whether this instance is kids.
  53. /// </summary>
  54. /// <value><c>null</c> if [is kids] contains no value, <c>true</c> if [is kids]; otherwise, <c>false</c>.</value>
  55. public bool? IsKids { get; set; }
  56. /// <summary>
  57. /// Gets or sets a value indicating whether this instance is sports.
  58. /// </summary>
  59. /// <value><c>null</c> if [is sports] contains no value, <c>true</c> if [is sports]; otherwise, <c>false</c>.</value>
  60. public bool? IsSports { get; set; }
  61. }
  62. }