ExternalIdInfo.cs 1002 B

123456789101112131415161718192021222324252627282930
  1. namespace MediaBrowser.Model.Providers
  2. {
  3. /// <summary>
  4. /// Represents the external id information for serialization to the client.
  5. /// </summary>
  6. public class ExternalIdInfo
  7. {
  8. /// <summary>
  9. /// Gets or sets the name of the external id provider (IE: IMDB, MusicBrainz, etc).
  10. /// </summary>
  11. public string Name { get; set; }
  12. /// <summary>
  13. /// Gets or sets the unique key for this id. This key should be unique across all providers.
  14. /// </summary>
  15. public string Key { get; set; }
  16. /// <summary>
  17. /// Gets or sets the media type (Album, Artist, etc).
  18. /// This can be null if there is no specific type.
  19. /// This string is also used to localize the media type on the client.
  20. /// </summary>
  21. public string Type { get; set; }
  22. /// <summary>
  23. /// Gets or sets the URL format string.
  24. /// </summary>
  25. public string UrlFormatString { get; set; }
  26. }
  27. }