diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-07-26 13:30:15 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-07-26 13:30:15 -0400 |
| commit | 37c27a26e90b7eff62cec9e2b6a6c003e79fcbe4 (patch) | |
| tree | d8c628a1f1ffeb33ba021158822eeffa74928f4e /MediaBrowser.Model/Sync/SyncJob.cs | |
| parent | d56fa09ccc5e1a5f9440645330ce337273fa3bd7 (diff) | |
added sync job database
Diffstat (limited to 'MediaBrowser.Model/Sync/SyncJob.cs')
| -rw-r--r-- | MediaBrowser.Model/Sync/SyncJob.cs | 80 |
1 files changed, 61 insertions, 19 deletions
diff --git a/MediaBrowser.Model/Sync/SyncJob.cs b/MediaBrowser.Model/Sync/SyncJob.cs index 74dd79497..f69fccae5 100644 --- a/MediaBrowser.Model/Sync/SyncJob.cs +++ b/MediaBrowser.Model/Sync/SyncJob.cs @@ -1,4 +1,6 @@ - +using System; +using System.Collections.Generic; + namespace MediaBrowser.Model.Sync { public class SyncJob @@ -14,39 +16,79 @@ namespace MediaBrowser.Model.Sync /// <value>The device identifier.</value> public string TargetId { get; set; } /// <summary> - /// Gets or sets the item identifier. - /// </summary> - /// <value>The item identifier.</value> - public string ItemId { get; set; } - /// <summary> /// Gets or sets the quality. /// </summary> /// <value>The quality.</value> public SyncQuality Quality { get; set; } /// <summary> + /// Gets or sets the current progress. + /// </summary> + /// <value>The current progress.</value> + public double? Progress { get; set; } + /// <summary> + /// Gets or sets the name. + /// </summary> + /// <value>The name.</value> + public string Name { get; set; } + /// <summary> /// Gets or sets the status. /// </summary> /// <value>The status.</value> - public SyncJobStatus Status { get; set; } + public SyncJobStatus Status { get; set; } /// <summary> - /// Gets or sets the current progress. + /// Gets or sets the user identifier. /// </summary> - /// <value>The current progress.</value> - public double? CurrentProgress { get; set; } + /// <value>The user identifier.</value> + public string UserId { get; set; } /// <summary> - /// Gets or sets the synchronize rule identifier. + /// Gets or sets a value indicating whether [unwatched only]. /// </summary> - /// <value>The synchronize rule identifier.</value> - public string SyncScheduleId { get; set; } + /// <value><c>true</c> if [unwatched only]; otherwise, <c>false</c>.</value> + public bool UnwatchedOnly { get; set; } /// <summary> - /// Gets or sets the transcoded path. + /// Gets or sets the limit. /// </summary> - /// <value>The transcoded path.</value> - public string TranscodedPath { get; set; } + /// <value>The limit.</value> + public long? Limit { get; set; } /// <summary> - /// Gets or sets the name. + /// Gets or sets the type of the limit. /// </summary> - /// <value>The name.</value> - public string Name { get; set; } + /// <value>The type of the limit.</value> + public SyncLimitType? LimitType { get; set; } + /// <summary> + /// Gets or sets the requested item ids. + /// </summary> + /// <value>The requested item ids.</value> + public List<string> RequestedItemIds { get; set; } + /// <summary> + /// Gets or sets a value indicating whether this instance is dynamic. + /// </summary> + /// <value><c>true</c> if this instance is dynamic; otherwise, <c>false</c>.</value> + public bool IsDynamic { get; set; } + /// <summary> + /// Gets or sets the date created. + /// </summary> + /// <value>The date created.</value> + public DateTime DateCreated { get; set; } + /// <summary> + /// Gets or sets the date last modified. + /// </summary> + /// <value>The date last modified.</value> + public DateTime DateLastModified { get; set; } + /// <summary> + /// Gets or sets the item count. + /// </summary> + /// <value>The item count.</value> + public int ItemCount { get; set; } + + public string ParentName { get; set; } + public string PrimaryImageItemId { get; set; } + public string PrimaryImageTag { get; set; } + public double? PrimaryImageAspectRatio { get; set; } + + public SyncJob() + { + RequestedItemIds = new List<string>(); + } } } |
