RecordingQuery.cs 2.6 KB

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