LocalItem.cs 1.9 KB

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