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