SyncJobItemQuery.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Model.Sync
  3. {
  4. public class SyncJobItemQuery
  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 job identifier.
  18. /// </summary>
  19. /// <value>The job identifier.</value>
  20. public string JobId { get; set; }
  21. /// <summary>
  22. /// Gets or sets the target identifier.
  23. /// </summary>
  24. /// <value>The target identifier.</value>
  25. public string TargetId { get; set; }
  26. /// <summary>
  27. /// Gets or sets the status.
  28. /// </summary>
  29. /// <value>The status.</value>
  30. public List<SyncJobItemStatus> Statuses { get; set; }
  31. /// <summary>
  32. /// Gets or sets a value indicating whether [add metadata].
  33. /// </summary>
  34. /// <value><c>true</c> if [add metadata]; otherwise, <c>false</c>.</value>
  35. public bool AddMetadata { get; set; }
  36. public SyncJobItemQuery()
  37. {
  38. Statuses = new List<SyncJobItemStatus>();
  39. }
  40. }
  41. }