SyncedFileInfo.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System.Collections.Generic;
  2. using MediaBrowser.Model.MediaInfo;
  3. namespace MediaBrowser.Controller.Sync
  4. {
  5. public class SyncedFileInfo
  6. {
  7. /// <summary>
  8. /// Gets or sets the path.
  9. /// </summary>
  10. /// <value>The path.</value>
  11. public string Path { get; set; }
  12. public string[] PathParts { get; set; }
  13. /// <summary>
  14. /// Gets or sets the protocol.
  15. /// </summary>
  16. /// <value>The protocol.</value>
  17. public MediaProtocol Protocol { get; set; }
  18. /// <summary>
  19. /// Gets or sets the required HTTP headers.
  20. /// </summary>
  21. /// <value>The required HTTP headers.</value>
  22. public Dictionary<string, string> RequiredHttpHeaders { get; set; }
  23. /// <summary>
  24. /// Gets or sets the identifier.
  25. /// </summary>
  26. /// <value>The identifier.</value>
  27. public string Id { get; set; }
  28. public SyncedFileInfo()
  29. {
  30. RequiredHttpHeaders = new Dictionary<string, string>();
  31. }
  32. }
  33. }