SearchHint.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. #nullable disable
  2. #pragma warning disable CS1591
  3. using System;
  4. using System.Collections.Generic;
  5. namespace MediaBrowser.Model.Search
  6. {
  7. /// <summary>
  8. /// Class SearchHintResult.
  9. /// </summary>
  10. public class SearchHint
  11. {
  12. /// <summary>
  13. /// Gets or sets the item id.
  14. /// </summary>
  15. /// <value>The item id.</value>
  16. public Guid ItemId { get; set; }
  17. public Guid Id { get; set; }
  18. /// <summary>
  19. /// Gets or sets the name.
  20. /// </summary>
  21. /// <value>The name.</value>
  22. public string Name { get; set; }
  23. /// <summary>
  24. /// Gets or sets the matched term.
  25. /// </summary>
  26. /// <value>The matched term.</value>
  27. public string MatchedTerm { get; set; }
  28. /// <summary>
  29. /// Gets or sets the index number.
  30. /// </summary>
  31. /// <value>The index number.</value>
  32. public int? IndexNumber { get; set; }
  33. /// <summary>
  34. /// Gets or sets the production year.
  35. /// </summary>
  36. /// <value>The production year.</value>
  37. public int? ProductionYear { get; set; }
  38. /// <summary>
  39. /// Gets or sets the parent index number.
  40. /// </summary>
  41. /// <value>The parent index number.</value>
  42. public int? ParentIndexNumber { get; set; }
  43. /// <summary>
  44. /// Gets or sets the image tag.
  45. /// </summary>
  46. /// <value>The image tag.</value>
  47. public string PrimaryImageTag { get; set; }
  48. /// <summary>
  49. /// Gets or sets the thumb image tag.
  50. /// </summary>
  51. /// <value>The thumb image tag.</value>
  52. public string ThumbImageTag { get; set; }
  53. /// <summary>
  54. /// Gets or sets the thumb image item identifier.
  55. /// </summary>
  56. /// <value>The thumb image item identifier.</value>
  57. public string ThumbImageItemId { get; set; }
  58. /// <summary>
  59. /// Gets or sets the backdrop image tag.
  60. /// </summary>
  61. /// <value>The backdrop image tag.</value>
  62. public string BackdropImageTag { get; set; }
  63. /// <summary>
  64. /// Gets or sets the backdrop image item identifier.
  65. /// </summary>
  66. /// <value>The backdrop image item identifier.</value>
  67. public string BackdropImageItemId { get; set; }
  68. /// <summary>
  69. /// Gets or sets the type.
  70. /// </summary>
  71. /// <value>The type.</value>
  72. public string Type { get; set; }
  73. public bool? IsFolder { get; set; }
  74. /// <summary>
  75. /// Gets or sets the run time ticks.
  76. /// </summary>
  77. /// <value>The run time ticks.</value>
  78. public long? RunTimeTicks { get; set; }
  79. /// <summary>
  80. /// Gets or sets the type of the media.
  81. /// </summary>
  82. /// <value>The type of the media.</value>
  83. public string MediaType { get; set; }
  84. public DateTime? StartDate { get; set; }
  85. public DateTime? EndDate { get; set; }
  86. /// <summary>
  87. /// Gets or sets the series.
  88. /// </summary>
  89. /// <value>The series.</value>
  90. public string Series { get; set; }
  91. public string Status { get; set; }
  92. /// <summary>
  93. /// Gets or sets the album.
  94. /// </summary>
  95. /// <value>The album.</value>
  96. public string Album { get; set; }
  97. public Guid AlbumId { get; set; }
  98. /// <summary>
  99. /// Gets or sets the album artist.
  100. /// </summary>
  101. /// <value>The album artist.</value>
  102. public string AlbumArtist { get; set; }
  103. /// <summary>
  104. /// Gets or sets the artists.
  105. /// </summary>
  106. /// <value>The artists.</value>
  107. public IReadOnlyList<string> Artists { get; set; }
  108. /// <summary>
  109. /// Gets or sets the song count.
  110. /// </summary>
  111. /// <value>The song count.</value>
  112. public int? SongCount { get; set; }
  113. /// <summary>
  114. /// Gets or sets the episode count.
  115. /// </summary>
  116. /// <value>The episode count.</value>
  117. public int? EpisodeCount { get; set; }
  118. /// <summary>
  119. /// Gets or sets the channel identifier.
  120. /// </summary>
  121. /// <value>The channel identifier.</value>
  122. public Guid ChannelId { get; set; }
  123. /// <summary>
  124. /// Gets or sets the name of the channel.
  125. /// </summary>
  126. /// <value>The name of the channel.</value>
  127. public string ChannelName { get; set; }
  128. /// <summary>
  129. /// Gets or sets the primary image aspect ratio.
  130. /// </summary>
  131. /// <value>The primary image aspect ratio.</value>
  132. public double? PrimaryImageAspectRatio { get; set; }
  133. }
  134. }