RemoteSearchResult.cs 1.4 KB

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