ProgramQuery.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using System;
  2. namespace MediaBrowser.Model.LiveTv
  3. {
  4. /// <summary>
  5. /// Class ProgramQuery.
  6. /// </summary>
  7. public class ProgramQuery
  8. {
  9. /// <summary>
  10. /// Gets or sets the channel identifier.
  11. /// </summary>
  12. /// <value>The channel identifier.</value>
  13. public string[] ChannelIdList { get; set; }
  14. /// <summary>
  15. /// Gets or sets the user identifier.
  16. /// </summary>
  17. /// <value>The user identifier.</value>
  18. public string UserId { get; set; }
  19. public DateTime? MinStartDate { get; set; }
  20. public DateTime? MaxStartDate { get; set; }
  21. public DateTime? MinEndDate { get; set; }
  22. public DateTime? MaxEndDate { get; set; }
  23. public ProgramQuery()
  24. {
  25. ChannelIdList = new string[] { };
  26. }
  27. }
  28. public class RecommendedProgramQuery
  29. {
  30. /// <summary>
  31. /// Gets or sets the user identifier.
  32. /// </summary>
  33. /// <value>The user identifier.</value>
  34. public string UserId { get; set; }
  35. /// <summary>
  36. /// Gets or sets a value indicating whether this instance is airing.
  37. /// </summary>
  38. /// <value><c>true</c> if this instance is airing; otherwise, <c>false</c>.</value>
  39. public bool? IsAiring { get; set; }
  40. /// <summary>
  41. /// Gets or sets a value indicating whether this instance has aired.
  42. /// </summary>
  43. /// <value><c>null</c> if [has aired] contains no value, <c>true</c> if [has aired]; otherwise, <c>false</c>.</value>
  44. public bool? HasAired { get; set; }
  45. /// <summary>
  46. /// The maximum number of items to return
  47. /// </summary>
  48. /// <value>The limit.</value>
  49. public int? Limit { get; set; }
  50. }
  51. }