2
0

RemoteSearchResult.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #pragma warning disable CS1591
  2. using System;
  3. using System.Collections.Generic;
  4. using MediaBrowser.Model.Entities;
  5. namespace MediaBrowser.Model.Providers
  6. {
  7. public class RemoteSearchResult : IHasProviderIds
  8. {
  9. /// <summary>
  10. /// Gets or sets the name.
  11. /// </summary>
  12. /// <value>The name.</value>
  13. public string Name { get; set; }
  14. /// <summary>
  15. /// Gets or sets the provider ids.
  16. /// </summary>
  17. /// <value>The provider ids.</value>
  18. public Dictionary<string, string> ProviderIds { get; set; }
  19. /// <summary>
  20. /// Gets or sets the year.
  21. /// </summary>
  22. /// <value>The year.</value>
  23. public int? ProductionYear { get; set; }
  24. public int? IndexNumber { get; set; }
  25. public int? IndexNumberEnd { get; set; }
  26. public int? ParentIndexNumber { get; set; }
  27. public DateTime? PremiereDate { get; set; }
  28. public string ImageUrl { get; set; }
  29. public string SearchProviderName { get; set; }
  30. public string Overview { get; set; }
  31. public RemoteSearchResult AlbumArtist { get; set; }
  32. public RemoteSearchResult[] Artists { get; set; }
  33. public RemoteSearchResult()
  34. {
  35. ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  36. Artists = new RemoteSearchResult[] { };
  37. }
  38. }
  39. }