RecordingQuery.cs 2.6 KB

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