RecordingQuery.cs 2.6 KB

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