FileSortingResult.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System;
  2. namespace MediaBrowser.Model.FileSorting
  3. {
  4. public class FileSortingResult
  5. {
  6. /// <summary>
  7. /// Gets or sets the original path.
  8. /// </summary>
  9. /// <value>The original path.</value>
  10. public string OriginalPath { get; set; }
  11. /// <summary>
  12. /// Gets or sets the target path.
  13. /// </summary>
  14. /// <value>The target path.</value>
  15. public string TargetPath { get; set; }
  16. /// <summary>
  17. /// Gets or sets the date.
  18. /// </summary>
  19. /// <value>The date.</value>
  20. public DateTime Date { get; set; }
  21. /// <summary>
  22. /// Gets or sets the error message.
  23. /// </summary>
  24. /// <value>The error message.</value>
  25. public string ErrorMessage { get; set; }
  26. /// <summary>
  27. /// Gets or sets the status.
  28. /// </summary>
  29. /// <value>The status.</value>
  30. public FileSortingStatus Status { get; set; }
  31. }
  32. public enum FileSortingStatus
  33. {
  34. Success,
  35. Failure,
  36. SkippedExisting,
  37. SkippedTrial
  38. }
  39. }