SyncedItem.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. using MediaBrowser.Model.Dto;
  2. using System;
  3. using System.Collections.Generic;
  4. namespace MediaBrowser.Model.Sync
  5. {
  6. public class SyncedItem
  7. {
  8. /// <summary>
  9. /// Gets or sets the server identifier.
  10. /// </summary>
  11. /// <value>The server identifier.</value>
  12. public string ServerId { get; set; }
  13. /// <summary>
  14. /// Gets or sets the synchronize job identifier.
  15. /// </summary>
  16. /// <value>The synchronize job identifier.</value>
  17. public string SyncJobId { get; set; }
  18. /// <summary>
  19. /// Gets or sets the name of the synchronize job.
  20. /// </summary>
  21. /// <value>The name of the synchronize job.</value>
  22. public string SyncJobName { get; set; }
  23. /// <summary>
  24. /// Gets or sets the synchronize job date created.
  25. /// </summary>
  26. /// <value>The synchronize job date created.</value>
  27. public DateTime SyncJobDateCreated { get; set; }
  28. /// <summary>
  29. /// Gets or sets the synchronize job item identifier.
  30. /// </summary>
  31. /// <value>The synchronize job item identifier.</value>
  32. public string SyncJobItemId { get; set; }
  33. /// <summary>
  34. /// Gets or sets the name of the original file.
  35. /// </summary>
  36. /// <value>The name of the original file.</value>
  37. public string OriginalFileName { get; set; }
  38. /// <summary>
  39. /// Gets or sets the item.
  40. /// </summary>
  41. /// <value>The item.</value>
  42. public BaseItemDto Item { get; set; }
  43. /// <summary>
  44. /// Gets or sets the user identifier.
  45. /// </summary>
  46. /// <value>The user identifier.</value>
  47. public string UserId { get; set; }
  48. /// <summary>
  49. /// Gets or sets the additional files.
  50. /// </summary>
  51. /// <value>The additional files.</value>
  52. public List<ItemFileInfo> AdditionalFiles { get; set; }
  53. public SyncedItem()
  54. {
  55. AdditionalFiles = new List<ItemFileInfo>();
  56. }
  57. }
  58. }