2
0

RecordingQuery.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. using MediaBrowser.Model.Entities;
  2. namespace MediaBrowser.Model.LiveTv
  3. {
  4. /// <summary>
  5. /// Class RecordingQuery.
  6. /// </summary>
  7. public class RecordingQuery
  8. {
  9. /// <summary>
  10. /// Gets or sets the channel identifier.
  11. /// </summary>
  12. /// <value>The channel identifier.</value>
  13. public string ChannelId { 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. /// <summary>
  20. /// Gets or sets the identifier.
  21. /// </summary>
  22. /// <value>The identifier.</value>
  23. public string Id { get; set; }
  24. /// <summary>
  25. /// Gets or sets the group identifier.
  26. /// </summary>
  27. /// <value>The group identifier.</value>
  28. public string GroupId { get; set; }
  29. /// <summary>
  30. /// Skips over a given number of items within the results. Use for paging.
  31. /// </summary>
  32. /// <value>The start index.</value>
  33. public int? StartIndex { get; set; }
  34. /// <summary>
  35. /// The maximum number of items to return
  36. /// </summary>
  37. /// <value>The limit.</value>
  38. public int? Limit { get; set; }
  39. /// <summary>
  40. /// Gets or sets the status.
  41. /// </summary>
  42. /// <value>The status.</value>
  43. public RecordingStatus? Status { get; set; }
  44. /// <summary>
  45. /// Gets or sets a value indicating whether this instance is in progress.
  46. /// </summary>
  47. /// <value><c>null</c> if [is in progress] contains no value, <c>true</c> if [is in progress]; otherwise, <c>false</c>.</value>
  48. public bool? IsInProgress { get; set; }
  49. /// <summary>
  50. /// Gets or sets the series timer identifier.
  51. /// </summary>
  52. /// <value>The series timer identifier.</value>
  53. public string SeriesTimerId { get; set; }
  54. }
  55. public class RecordingGroupQuery
  56. {
  57. /// <summary>
  58. /// Gets or sets the user identifier.
  59. /// </summary>
  60. /// <value>The user identifier.</value>
  61. public string UserId { get; set; }
  62. }
  63. public class TimerQuery
  64. {
  65. /// <summary>
  66. /// Gets or sets the channel identifier.
  67. /// </summary>
  68. /// <value>The channel identifier.</value>
  69. public string ChannelId { get; set; }
  70. /// <summary>
  71. /// Gets or sets the series timer identifier.
  72. /// </summary>
  73. /// <value>The series timer identifier.</value>
  74. public string SeriesTimerId { get; set; }
  75. }
  76. public class SeriesTimerQuery
  77. {
  78. /// <summary>
  79. /// Gets or sets the sort by - SortName, Priority
  80. /// </summary>
  81. /// <value>The sort by.</value>
  82. public string SortBy { get; set; }
  83. /// <summary>
  84. /// Gets or sets the sort order.
  85. /// </summary>
  86. /// <value>The sort order.</value>
  87. public SortOrder SortOrder { get; set; }
  88. }
  89. }