SearchHint.cs 4.6 KB

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