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>
|
2017-08-19 19:43:35 +00:00
|
|
|
|
public string[] ItemIds { get; set; }
|
2014-07-15 04:12:26 +00:00
|
|
|
|
/// <summary>
|
2014-12-16 05:01:57 +00:00
|
|
|
|
/// Gets or sets the category.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The category.</value>
|
|
|
|
|
public SyncCategory? Category { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the parent identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The parent identifier.</value>
|
|
|
|
|
public string ParentId { get; set; }
|
|
|
|
|
/// <summary>
|
2014-07-15 04:12:26 +00:00
|
|
|
|
/// Gets or sets the quality.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The quality.</value>
|
2015-03-04 17:22:55 +00:00
|
|
|
|
public string Quality { get; set; }
|
2014-07-22 16:36:34 +00:00
|
|
|
|
/// <summary>
|
2015-03-15 04:17:35 +00:00
|
|
|
|
/// Gets or sets the profile.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The profile.</value>
|
|
|
|
|
public string Profile { get; set; }
|
|
|
|
|
/// <summary>
|
2014-07-22 16:36:34 +00:00
|
|
|
|
/// 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>
|
2014-12-11 06:20:28 +00:00
|
|
|
|
/// 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; }
|
2014-07-26 17:30:15 +00:00
|
|
|
|
/// <summary>
|
2014-12-11 06:20:28 +00:00
|
|
|
|
/// Gets or sets the limit.
|
2014-07-26 17:30:15 +00:00
|
|
|
|
/// </summary>
|
2014-12-11 06:20:28 +00:00
|
|
|
|
/// <value>The limit.</value>
|
|
|
|
|
public int? ItemLimit { get; set; }
|
2015-03-15 19:10:27 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the bitrate.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The bitrate.</value>
|
|
|
|
|
public int? Bitrate { get; set; }
|
2014-07-15 04:12:26 +00:00
|
|
|
|
|
|
|
|
|
public SyncJobRequest()
|
|
|
|
|
{
|
2017-08-19 19:43:35 +00:00
|
|
|
|
ItemIds = new string[] { };
|
2014-12-11 06:20:28 +00:00
|
|
|
|
SyncNewContent = true;
|
2014-07-15 04:12:26 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|