SyncJobQuery.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. 
  2. namespace MediaBrowser.Model.Sync
  3. {
  4. public class SyncJobQuery
  5. {
  6. /// <summary>
  7. /// Gets or sets the start index.
  8. /// </summary>
  9. /// <value>The start index.</value>
  10. public int? StartIndex { get; set; }
  11. /// <summary>
  12. /// Gets or sets the limit.
  13. /// </summary>
  14. /// <value>The limit.</value>
  15. public int? Limit { get; set; }
  16. /// <summary>
  17. /// Gets or sets the target identifier.
  18. /// </summary>
  19. /// <value>The target identifier.</value>
  20. public string TargetId { get; set; }
  21. /// <summary>
  22. /// Gets or sets the user identifier.
  23. /// </summary>
  24. /// <value>The user identifier.</value>
  25. public string UserId { get; set; }
  26. public string ExcludeTargetIds { get; set; }
  27. public string ItemId { get; set; }
  28. /// <summary>
  29. /// Gets or sets the status.
  30. /// </summary>
  31. /// <value>The status.</value>
  32. public SyncJobStatus[] Statuses { get; set; }
  33. /// <summary>
  34. /// Gets or sets a value indicating whether [synchronize new content].
  35. /// </summary>
  36. /// <value><c>null</c> if [synchronize new content] contains no value, <c>true</c> if [synchronize new content]; otherwise, <c>false</c>.</value>
  37. public bool? SyncNewContent { get; set; }
  38. public SyncJobQuery()
  39. {
  40. Statuses = new SyncJobStatus[] { };
  41. }
  42. }
  43. }