GetProgramsDto.cs 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. using System;
  2. namespace Jellyfin.Api.Models.LiveTvDtos
  3. {
  4. /// <summary>
  5. /// Get programs dto.
  6. /// </summary>
  7. public class GetProgramsDto
  8. {
  9. /// <summary>
  10. /// Gets or sets the channels to return guide information for.
  11. /// </summary>
  12. public string? ChannelIds { get; set; }
  13. /// <summary>
  14. /// Gets or sets optional. Filter by user id.
  15. /// </summary>
  16. public Guid UserId { get; set; }
  17. /// <summary>
  18. /// Gets or sets the minimum premiere start date.
  19. /// Optional.
  20. /// </summary>
  21. public DateTime? MinStartDate { get; set; }
  22. /// <summary>
  23. /// Gets or sets filter by programs that have completed airing, or not.
  24. /// Optional.
  25. /// </summary>
  26. public bool? HasAired { get; set; }
  27. /// <summary>
  28. /// Gets or sets filter by programs that are currently airing, or not.
  29. /// Optional.
  30. /// </summary>
  31. public bool? IsAiring { get; set; }
  32. /// <summary>
  33. /// Gets or sets the maximum premiere start date.
  34. /// Optional.
  35. /// </summary>
  36. public DateTime? MaxStartDate { get; set; }
  37. /// <summary>
  38. /// Gets or sets the minimum premiere end date.
  39. /// Optional.
  40. /// </summary>
  41. public DateTime? MinEndDate { get; set; }
  42. /// <summary>
  43. /// Gets or sets the maximum premiere end date.
  44. /// Optional.
  45. /// </summary>
  46. public DateTime? MaxEndDate { get; set; }
  47. /// <summary>
  48. /// Gets or sets filter for movies.
  49. /// Optional.
  50. /// </summary>
  51. public bool? IsMovie { get; set; }
  52. /// <summary>
  53. /// Gets or sets filter for series.
  54. /// Optional.
  55. /// </summary>
  56. public bool? IsSeries { get; set; }
  57. /// <summary>
  58. /// Gets or sets filter for news.
  59. /// Optional.
  60. /// </summary>
  61. public bool? IsNews { get; set; }
  62. /// <summary>
  63. /// Gets or sets filter for kids.
  64. /// Optional.
  65. /// </summary>
  66. public bool? IsKids { get; set; }
  67. /// <summary>
  68. /// Gets or sets filter for sports.
  69. /// Optional.
  70. /// </summary>
  71. public bool? IsSports { get; set; }
  72. /// <summary>
  73. /// Gets or sets the record index to start at. All items with a lower index will be dropped from the results.
  74. /// Optional.
  75. /// </summary>
  76. public int? StartIndex { get; set; }
  77. /// <summary>
  78. /// Gets or sets the maximum number of records to return.
  79. /// Optional.
  80. /// </summary>
  81. public int? Limit { get; set; }
  82. /// <summary>
  83. /// Gets or sets specify one or more sort orders, comma delimited. Options: Name, StartDate.
  84. /// Optional.
  85. /// </summary>
  86. public string? SortBy { get; set; }
  87. /// <summary>
  88. /// Gets or sets sort Order - Ascending,Descending.
  89. /// </summary>
  90. public string? SortOrder { get; set; }
  91. /// <summary>
  92. /// Gets or sets the genres to return guide information for.
  93. /// </summary>
  94. public string? Genres { get; set; }
  95. /// <summary>
  96. /// Gets or sets the genre ids to return guide information for.
  97. /// </summary>
  98. public string? GenreIds { get; set; }
  99. /// <summary>
  100. /// Gets or sets include image information in output.
  101. /// Optional.
  102. /// </summary>
  103. public bool? EnableImages { get; set; }
  104. /// <summary>
  105. /// Gets or sets a value indicating whether retrieve total record count.
  106. /// </summary>
  107. public bool EnableTotalRecordCount { get; set; } = true;
  108. /// <summary>
  109. /// Gets or sets the max number of images to return, per image type.
  110. /// Optional.
  111. /// </summary>
  112. public int? ImageTypeLimit { get; set; }
  113. /// <summary>
  114. /// Gets or sets the image types to include in the output.
  115. /// Optional.
  116. /// </summary>
  117. public string? EnableImageTypes { get; set; }
  118. /// <summary>
  119. /// Gets or sets include user data.
  120. /// Optional.
  121. /// </summary>
  122. public bool? EnableUserData { get; set; }
  123. /// <summary>
  124. /// Gets or sets filter by series timer id.
  125. /// Optional.
  126. /// </summary>
  127. public string? SeriesTimerId { get; set; }
  128. /// <summary>
  129. /// Gets or sets filter by library series id.
  130. /// Optional.
  131. /// </summary>
  132. public Guid LibrarySeriesId { get; set; }
  133. /// <summary>
  134. /// Gets or sets specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines.
  135. /// Optional.
  136. /// </summary>
  137. public string? Fields { get; set; }
  138. }
  139. }