SyncedItem.cs 1.6 KB

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