SyncJobItemQuery.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 item identifier.
  23. /// </summary>
  24. /// <value>The item identifier.</value>
  25. public string ItemId { get; set; }
  26. /// <summary>
  27. /// Gets or sets the target identifier.
  28. /// </summary>
  29. /// <value>The target identifier.</value>
  30. public string TargetId { get; set; }
  31. /// <summary>
  32. /// Gets or sets the status.
  33. /// </summary>
  34. /// <value>The status.</value>
  35. public List<SyncJobItemStatus> Statuses { get; set; }
  36. /// <summary>
  37. /// Gets or sets a value indicating whether [add metadata].
  38. /// </summary>
  39. /// <value><c>true</c> if [add metadata]; otherwise, <c>false</c>.</value>
  40. public bool AddMetadata { get; set; }
  41. public SyncJobItemQuery()
  42. {
  43. Statuses = new List<SyncJobItemStatus>();
  44. }
  45. }
  46. }