jellyfin-server/MediaBrowser.Model/Sync/SyncJobRequest.cs
2014-12-11 01:20:28 -05:00

60 lines
2.0 KiB
C#

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 a value indicating whether [remove when watched].
/// </summary>
/// <value><c>true</c> if [remove when watched]; otherwise, <c>false</c>.</value>
public bool RemoveWhenWatched { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [synchronize new content].
/// </summary>
/// <value><c>true</c> if [synchronize new content]; otherwise, <c>false</c>.</value>
public bool SyncNewContent { get; set; }
/// <summary>
/// Gets or sets the limit.
/// </summary>
/// <value>The limit.</value>
public int? ItemLimit { get; set; }
public SyncJobRequest()
{
ItemIds = new List<string>();
SyncNewContent = true;
}
}
}