SyncJobQuery.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. /// <summary>
  28. /// Gets or sets the status.
  29. /// </summary>
  30. /// <value>The status.</value>
  31. public SyncJobStatus[] Statuses { get; set; }
  32. /// <summary>
  33. /// Gets or sets a value indicating whether [synchronize new content].
  34. /// </summary>
  35. /// <value><c>null</c> if [synchronize new content] contains no value, <c>true</c> if [synchronize new content]; otherwise, <c>false</c>.</value>
  36. public bool? SyncNewContent { get; set; }
  37. public SyncJobQuery()
  38. {
  39. Statuses = new SyncJobStatus[] { };
  40. }
  41. }
  42. }