RecommendedProgramQuery.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. /// <summary>
  16. /// Gets or sets the user identifier.
  17. /// </summary>
  18. /// <value>The user identifier.</value>
  19. public string UserId { get; set; }
  20. /// <summary>
  21. /// Gets or sets a value indicating whether this instance is airing.
  22. /// </summary>
  23. /// <value><c>true</c> if this instance is airing; otherwise, <c>false</c>.</value>
  24. public bool? IsAiring { get; set; }
  25. /// <summary>
  26. /// Gets or sets a value indicating whether this instance has aired.
  27. /// </summary>
  28. /// <value><c>null</c> if [has aired] contains no value, <c>true</c> if [has aired]; otherwise, <c>false</c>.</value>
  29. public bool? HasAired { get; set; }
  30. /// <summary>
  31. /// The maximum number of items to return
  32. /// </summary>
  33. /// <value>The limit.</value>
  34. public int? Limit { get; set; }
  35. /// <summary>
  36. /// Gets or sets a value indicating whether this instance is movie.
  37. /// </summary>
  38. /// <value><c>null</c> if [is movie] contains no value, <c>true</c> if [is movie]; otherwise, <c>false</c>.</value>
  39. public bool? IsMovie { get; set; }
  40. /// <summary>
  41. /// Gets or sets a value indicating whether this instance is sports.
  42. /// </summary>
  43. /// <value><c>null</c> if [is sports] contains no value, <c>true</c> if [is sports]; otherwise, <c>false</c>.</value>
  44. public bool? IsSports { get; set; }
  45. }
  46. }