diff options
| author | 7illusions <z@7illusions.com> | 2014-08-30 19:06:58 +0200 |
|---|---|---|
| committer | 7illusions <z@7illusions.com> | 2014-08-30 19:06:58 +0200 |
| commit | 66ad1699e22029b605e17735e8d9450285d8748a (patch) | |
| tree | ffc92c88d24850b2f82b6b3a8bdd904a2ccc77a5 /MediaBrowser.Model/Sync/SyncJobRequest.cs | |
| parent | 34bc54263e886aae777a3537dc50a6535b51330a (diff) | |
| parent | 9d36f518182bc075c19d78084870f5115fa62d1e (diff) | |
Merge pull request #1 from MediaBrowser/master
Update to latest
Diffstat (limited to 'MediaBrowser.Model/Sync/SyncJobRequest.cs')
| -rw-r--r-- | MediaBrowser.Model/Sync/SyncJobRequest.cs | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Sync/SyncJobRequest.cs b/MediaBrowser.Model/Sync/SyncJobRequest.cs new file mode 100644 index 000000000..7728aad9b --- /dev/null +++ b/MediaBrowser.Model/Sync/SyncJobRequest.cs @@ -0,0 +1,58 @@ +using System.Collections.Generic; + +namespace MediaBrowser.Model.Sync +{ + public class SyncJobRequest + { + /// <summary> + /// Gets or sets the target identifier. + /// </summary> + /// <value>The target identifier.</value> + public string TargetId { get; set; } + /// <summary> + /// Gets or sets the item ids. + /// </summary> + /// <value>The item ids.</value> + public List<string> ItemIds { get; set; } + /// <summary> + /// Gets or sets the quality. + /// </summary> + /// <value>The quality.</value> + public SyncQuality Quality { get; set; } + /// <summary> + /// Gets or sets the name. + /// </summary> + /// <value>The name.</value> + public string Name { get; set; } + /// <summary> + /// Gets or sets the user identifier. + /// </summary> + /// <value>The user identifier.</value> + public string UserId { get; set; } + /// <summary> + /// Gets or sets a value indicating whether [unwatched only]. + /// </summary> + /// <value><c>true</c> if [unwatched only]; otherwise, <c>false</c>.</value> + public bool UnwatchedOnly { get; set; } + /// <summary> + /// Gets or sets the limit. + /// </summary> + /// <value>The limit.</value> + public long? Limit { get; set; } + /// <summary> + /// Gets or sets the type of the limit. + /// </summary> + /// <value>The type of the limit.</value> + public SyncLimitType? LimitType { get; set; } + + public SyncJobRequest() + { + ItemIds = new List<string>(); + } + } + + public enum SyncLimitType + { + ItemCount = 0 + } +} |
