RemoteSearchResult.cs 1.4 KB

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