SearchHint.cs 4.7 KB

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