SyncJobRequest.cs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Model.Sync
  3. {
  4. public class SyncJobRequest
  5. {
  6. /// <summary>
  7. /// Gets or sets the target identifier.
  8. /// </summary>
  9. /// <value>The target identifier.</value>
  10. public string TargetId { get; set; }
  11. /// <summary>
  12. /// Gets or sets the item ids.
  13. /// </summary>
  14. /// <value>The item ids.</value>
  15. public List<string> ItemIds { get; set; }
  16. /// <summary>
  17. /// Gets or sets the category.
  18. /// </summary>
  19. /// <value>The category.</value>
  20. public SyncCategory? Category { get; set; }
  21. /// <summary>
  22. /// Gets or sets the parent identifier.
  23. /// </summary>
  24. /// <value>The parent identifier.</value>
  25. public string ParentId { get; set; }
  26. /// <summary>
  27. /// Gets or sets the quality.
  28. /// </summary>
  29. /// <value>The quality.</value>
  30. public string Quality { get; set; }
  31. /// <summary>
  32. /// Gets or sets the profile.
  33. /// </summary>
  34. /// <value>The profile.</value>
  35. public string Profile { get; set; }
  36. /// <summary>
  37. /// Gets or sets the name.
  38. /// </summary>
  39. /// <value>The name.</value>
  40. public string Name { get; set; }
  41. /// <summary>
  42. /// Gets or sets the user identifier.
  43. /// </summary>
  44. /// <value>The user identifier.</value>
  45. public string UserId { get; set; }
  46. /// <summary>
  47. /// Gets or sets a value indicating whether [unwatched only].
  48. /// </summary>
  49. /// <value><c>true</c> if [unwatched only]; otherwise, <c>false</c>.</value>
  50. public bool UnwatchedOnly { get; set; }
  51. /// <summary>
  52. /// Gets or sets a value indicating whether [synchronize new content].
  53. /// </summary>
  54. /// <value><c>true</c> if [synchronize new content]; otherwise, <c>false</c>.</value>
  55. public bool SyncNewContent { get; set; }
  56. /// <summary>
  57. /// Gets or sets the limit.
  58. /// </summary>
  59. /// <value>The limit.</value>
  60. public int? ItemLimit { get; set; }
  61. /// <summary>
  62. /// Gets or sets the bitrate.
  63. /// </summary>
  64. /// <value>The bitrate.</value>
  65. public int? Bitrate { get; set; }
  66. public SyncJobRequest()
  67. {
  68. ItemIds = new List<string>();
  69. SyncNewContent = true;
  70. }
  71. }
  72. }