RecordingQuery.cs 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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 a value indicating whether this instance is recording.
  41. /// </summary>
  42. /// <value><c>null</c> if [is recording] contains no value, <c>true</c> if [is recording]; otherwise, <c>false</c>.</value>
  43. public bool? IsRecording { get; set; }
  44. /// <summary>
  45. /// Gets or sets the series timer identifier.
  46. /// </summary>
  47. /// <value>The series timer identifier.</value>
  48. public string SeriesTimerId { get; set; }
  49. }
  50. public class RecordingGroupQuery
  51. {
  52. /// <summary>
  53. /// Gets or sets the user identifier.
  54. /// </summary>
  55. /// <value>The user identifier.</value>
  56. public string UserId { get; set; }
  57. }
  58. public class TimerQuery
  59. {
  60. /// <summary>
  61. /// Gets or sets the channel identifier.
  62. /// </summary>
  63. /// <value>The channel identifier.</value>
  64. public string ChannelId { get; set; }
  65. /// <summary>
  66. /// Gets or sets the series timer identifier.
  67. /// </summary>
  68. /// <value>The series timer identifier.</value>
  69. public string SeriesTimerId { get; set; }
  70. }
  71. public class SeriesTimerQuery
  72. {
  73. /// <summary>
  74. /// Gets or sets the sort by - SortName, Priority
  75. /// </summary>
  76. /// <value>The sort by.</value>
  77. public string SortBy { get; set; }
  78. /// <summary>
  79. /// Gets or sets the sort order.
  80. /// </summary>
  81. /// <value>The sort order.</value>
  82. public SortOrder SortOrder { get; set; }
  83. }
  84. }