RecordingQuery.cs 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. using MediaBrowser.Model.Entities;
  2. using MediaBrowser.Model.Querying;
  3. namespace MediaBrowser.Model.LiveTv
  4. {
  5. /// <summary>
  6. /// Class RecordingQuery.
  7. /// </summary>
  8. public class RecordingQuery
  9. {
  10. /// <summary>
  11. /// Gets or sets the channel identifier.
  12. /// </summary>
  13. /// <value>The channel identifier.</value>
  14. public string ChannelId { 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 the identifier.
  22. /// </summary>
  23. /// <value>The identifier.</value>
  24. public string Id { get; set; }
  25. /// <summary>
  26. /// Gets or sets the group identifier.
  27. /// </summary>
  28. /// <value>The group identifier.</value>
  29. public string GroupId { get; set; }
  30. /// <summary>
  31. /// Skips over a given number of items within the results. Use for paging.
  32. /// </summary>
  33. /// <value>The start index.</value>
  34. public int? StartIndex { 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 the status.
  42. /// </summary>
  43. /// <value>The status.</value>
  44. public RecordingStatus? Status { get; set; }
  45. /// <summary>
  46. /// Gets or sets a value indicating whether this instance is in progress.
  47. /// </summary>
  48. /// <value><c>null</c> if [is in progress] contains no value, <c>true</c> if [is in progress]; otherwise, <c>false</c>.</value>
  49. public bool? IsInProgress { get; set; }
  50. /// <summary>
  51. /// Gets or sets the series timer identifier.
  52. /// </summary>
  53. /// <value>The series timer identifier.</value>
  54. public string SeriesTimerId { get; set; }
  55. /// <summary>
  56. /// Fields to return within the items, in addition to basic information
  57. /// </summary>
  58. /// <value>The fields.</value>
  59. public ItemFields[] Fields { get; set; }
  60. public bool? EnableImages { get; set; }
  61. public bool? IsNews { get; set; }
  62. public bool? IsMovie { get; set; }
  63. public bool? IsSeries { get; set; }
  64. public bool? IsKids { get; set; }
  65. public bool? IsSports { get; set; }
  66. public int? ImageTypeLimit { get; set; }
  67. public ImageType[] EnableImageTypes { get; set; }
  68. public bool EnableTotalRecordCount { get; set; }
  69. public RecordingQuery()
  70. {
  71. EnableTotalRecordCount = true;
  72. }
  73. }
  74. }