SearchHint.cs 4.6 KB

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