SyncJobRequest.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 quality.
  18. /// </summary>
  19. /// <value>The quality.</value>
  20. public SyncQuality Quality { get; set; }
  21. /// <summary>
  22. /// Gets or sets the name.
  23. /// </summary>
  24. /// <value>The name.</value>
  25. public string Name { get; set; }
  26. /// <summary>
  27. /// Gets or sets the user identifier.
  28. /// </summary>
  29. /// <value>The user identifier.</value>
  30. public string UserId { get; set; }
  31. /// <summary>
  32. /// Gets or sets a value indicating whether [unwatched only].
  33. /// </summary>
  34. /// <value><c>true</c> if [unwatched only]; otherwise, <c>false</c>.</value>
  35. public bool UnwatchedOnly { get; set; }
  36. /// <summary>
  37. /// Gets or sets the limit.
  38. /// </summary>
  39. /// <value>The limit.</value>
  40. public long? Limit { get; set; }
  41. /// <summary>
  42. /// Gets or sets the type of the limit.
  43. /// </summary>
  44. /// <value>The type of the limit.</value>
  45. public SyncLimitType? LimitType { get; set; }
  46. public SyncJobRequest()
  47. {
  48. ItemIds = new List<string>();
  49. }
  50. }
  51. }