ItemId.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using MediaBrowser.Model.Entities;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace MediaBrowser.Controller.Providers
  5. {
  6. public class ItemId : 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 metadata language.
  15. /// </summary>
  16. /// <value>The metadata language.</value>
  17. public string MetadataLanguage { get; set; }
  18. /// <summary>
  19. /// Gets or sets the metadata country code.
  20. /// </summary>
  21. /// <value>The metadata country code.</value>
  22. public string MetadataCountryCode { get; set; }
  23. /// <summary>
  24. /// Gets or sets the provider ids.
  25. /// </summary>
  26. /// <value>The provider ids.</value>
  27. public Dictionary<string, string> ProviderIds { get; set; }
  28. public ItemId()
  29. {
  30. ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  31. }
  32. }
  33. }