LocalItem.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 item identifier.
  29. /// </summary>
  30. /// <value>The item identifier.</value>
  31. public string ItemId { get; set; }
  32. /// <summary>
  33. /// Gets or sets the synchronize job item identifier.
  34. /// </summary>
  35. /// <value>The synchronize job item identifier.</value>
  36. public string SyncJobItemId { get; set; }
  37. /// <summary>
  38. /// Gets or sets the user ids with access.
  39. /// </summary>
  40. /// <value>The user ids with access.</value>
  41. public List<string> UserIdsWithAccess { get; set; }
  42. /// <summary>
  43. /// Gets or sets the additional files.
  44. /// </summary>
  45. /// <value>The additional files.</value>
  46. public List<string> AdditionalFiles { get; set; }
  47. public LocalItem()
  48. {
  49. AdditionalFiles = new List<string>();
  50. UserIdsWithAccess = new List<string>();
  51. }
  52. }
  53. }