2
0

RemoteSearchResult.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #nullable disable
  2. #pragma warning disable CS1591
  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. public RemoteSearchResult()
  11. {
  12. ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  13. Artists = Array.Empty<RemoteSearchResult>();
  14. }
  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 provider ids.
  22. /// </summary>
  23. /// <value>The provider ids.</value>
  24. public Dictionary<string, string> ProviderIds { get; set; }
  25. /// <summary>
  26. /// Gets or sets the year.
  27. /// </summary>
  28. /// <value>The year.</value>
  29. public int? ProductionYear { get; set; }
  30. public int? IndexNumber { get; set; }
  31. public int? IndexNumberEnd { get; set; }
  32. public int? ParentIndexNumber { get; set; }
  33. public DateTime? PremiereDate { get; set; }
  34. public string ImageUrl { get; set; }
  35. public string SearchProviderName { get; set; }
  36. public string Overview { get; set; }
  37. public RemoteSearchResult AlbumArtist { get; set; }
  38. public RemoteSearchResult[] Artists { get; set; }
  39. }
  40. }