SyncJobQuery.cs 1.4 KB

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