jellyfin-server/MediaBrowser.Model/Sync/SyncJobRequest.cs

54 lines
1.7 KiB
C#
Raw Normal View History

2014-07-15 04:12:26 +00:00
using System.Collections.Generic;
namespace MediaBrowser.Model.Sync
{
public class SyncJobRequest
{
/// <summary>
2014-07-26 17:30:15 +00:00
/// Gets or sets the target identifier.
2014-07-15 04:12:26 +00:00
/// </summary>
2014-07-26 17:30:15 +00:00
/// <value>The target identifier.</value>
public string TargetId { get; set; }
2014-07-15 04:12:26 +00:00
/// <summary>
2014-07-22 16:36:34 +00:00
/// Gets or sets the item ids.
2014-07-15 04:12:26 +00:00
/// </summary>
2014-07-22 16:36:34 +00:00
/// <value>The item ids.</value>
public List<string> ItemIds { get; set; }
2014-07-15 04:12:26 +00:00
/// <summary>
/// Gets or sets the quality.
/// </summary>
/// <value>The quality.</value>
public SyncQuality Quality { get; set; }
2014-07-22 16:36:34 +00:00
/// <summary>
/// Gets or sets the name.
/// </summary>
/// <value>The name.</value>
public string Name { get; set; }
2014-07-26 17:30:15 +00:00
/// <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; }
2014-07-15 04:12:26 +00:00
public SyncJobRequest()
{
2014-07-22 16:36:34 +00:00
ItemIds = new List<string>();
2014-07-15 04:12:26 +00:00
}
}
}