SyncJob.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. 
  2. namespace MediaBrowser.Model.Sync
  3. {
  4. public class SyncJob
  5. {
  6. /// <summary>
  7. /// Gets or sets the identifier.
  8. /// </summary>
  9. /// <value>The identifier.</value>
  10. public string Id { get; set; }
  11. /// <summary>
  12. /// Gets or sets the device identifier.
  13. /// </summary>
  14. /// <value>The device identifier.</value>
  15. public string TargetId { get; set; }
  16. /// <summary>
  17. /// Gets or sets the item identifier.
  18. /// </summary>
  19. /// <value>The item identifier.</value>
  20. public string ItemId { get; set; }
  21. /// <summary>
  22. /// Gets or sets the quality.
  23. /// </summary>
  24. /// <value>The quality.</value>
  25. public SyncQuality Quality { get; set; }
  26. /// <summary>
  27. /// Gets or sets the status.
  28. /// </summary>
  29. /// <value>The status.</value>
  30. public SyncJobStatus Status { get; set; }
  31. /// <summary>
  32. /// Gets or sets the current progress.
  33. /// </summary>
  34. /// <value>The current progress.</value>
  35. public double? CurrentProgress { get; set; }
  36. /// <summary>
  37. /// Gets or sets the synchronize rule identifier.
  38. /// </summary>
  39. /// <value>The synchronize rule identifier.</value>
  40. public string SyncScheduleId { get; set; }
  41. /// <summary>
  42. /// Gets or sets the transcoded path.
  43. /// </summary>
  44. /// <value>The transcoded path.</value>
  45. public string TranscodedPath { get; set; }
  46. /// <summary>
  47. /// Gets or sets the name.
  48. /// </summary>
  49. /// <value>The name.</value>
  50. public string Name { get; set; }
  51. }
  52. }