diff options
Diffstat (limited to 'MediaBrowser.Model/FileSorting')
| -rw-r--r-- | MediaBrowser.Model/FileSorting/FileSortingResult.cs | 45 | ||||
| -rw-r--r-- | MediaBrowser.Model/FileSorting/FileSortingResultQuery.cs | 18 |
2 files changed, 63 insertions, 0 deletions
diff --git a/MediaBrowser.Model/FileSorting/FileSortingResult.cs b/MediaBrowser.Model/FileSorting/FileSortingResult.cs new file mode 100644 index 000000000..43c5e7ede --- /dev/null +++ b/MediaBrowser.Model/FileSorting/FileSortingResult.cs @@ -0,0 +1,45 @@ +using System; + +namespace MediaBrowser.Model.FileSorting +{ + public class FileSortingResult + { + /// <summary> + /// Gets or sets the original path. + /// </summary> + /// <value>The original path.</value> + public string OriginalPath { get; set; } + + /// <summary> + /// Gets or sets the target path. + /// </summary> + /// <value>The target path.</value> + public string TargetPath { get; set; } + + /// <summary> + /// Gets or sets the date. + /// </summary> + /// <value>The date.</value> + public DateTime Date { get; set; } + + /// <summary> + /// Gets or sets the error message. + /// </summary> + /// <value>The error message.</value> + public string ErrorMessage { get; set; } + + /// <summary> + /// Gets or sets the status. + /// </summary> + /// <value>The status.</value> + public FileSortingStatus Status { get; set; } + } + + public enum FileSortingStatus + { + Success, + Failure, + SkippedExisting, + SkippedTrial + } +} diff --git a/MediaBrowser.Model/FileSorting/FileSortingResultQuery.cs b/MediaBrowser.Model/FileSorting/FileSortingResultQuery.cs new file mode 100644 index 000000000..7a83cad7b --- /dev/null +++ b/MediaBrowser.Model/FileSorting/FileSortingResultQuery.cs @@ -0,0 +1,18 @@ + +namespace MediaBrowser.Model.FileSorting +{ + public class FileSortingResultQuery + { + /// <summary> + /// Skips over a given number of items within the results. Use for paging. + /// </summary> + /// <value>The start index.</value> + public int? StartIndex { get; set; } + + /// <summary> + /// The maximum number of items to return + /// </summary> + /// <value>The limit.</value> + public int? Limit { get; set; } + } +} |
