2014-12-28 17:59:40 +00:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
2015-02-03 21:38:52 +00:00
|
|
|
|
using System.Collections.Generic;
|
2014-12-28 17:59:40 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Sync
|
|
|
|
|
{
|
|
|
|
|
public class LocalItem
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the item.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The item.</value>
|
|
|
|
|
public BaseItemDto Item { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the local path.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The local path.</value>
|
2014-12-29 05:56:55 +00:00
|
|
|
|
public string LocalPath { get; set; }
|
2014-12-28 17:59:40 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the server identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The server identifier.</value>
|
|
|
|
|
public string ServerId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the unique identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The unique identifier.</value>
|
2015-01-02 05:36:27 +00:00
|
|
|
|
public string Id { get; set; }
|
2014-12-28 17:59:40 +00:00
|
|
|
|
/// <summary>
|
2015-04-13 05:12:02 +00:00
|
|
|
|
/// Gets or sets the file identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The file identifier.</value>
|
|
|
|
|
public string FileId { get; set; }
|
|
|
|
|
/// <summary>
|
2014-12-28 17:59:40 +00:00
|
|
|
|
/// Gets or sets the item identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The item identifier.</value>
|
|
|
|
|
public string ItemId { get; set; }
|
2015-02-03 21:38:52 +00:00
|
|
|
|
/// <summary>
|
2015-03-31 18:50:08 +00:00
|
|
|
|
/// Gets or sets the synchronize job item identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The synchronize job item identifier.</value>
|
|
|
|
|
public string SyncJobItemId { get; set; }
|
|
|
|
|
/// <summary>
|
2015-02-03 21:38:52 +00:00
|
|
|
|
/// Gets or sets the user ids with access.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user ids with access.</value>
|
|
|
|
|
public List<string> UserIdsWithAccess { get; set; }
|
2015-03-28 02:19:20 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the additional files.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The additional files.</value>
|
|
|
|
|
public List<string> AdditionalFiles { get; set; }
|
2015-02-03 21:38:52 +00:00
|
|
|
|
|
|
|
|
|
public LocalItem()
|
|
|
|
|
{
|
2015-03-28 02:19:20 +00:00
|
|
|
|
AdditionalFiles = new List<string>();
|
2015-02-03 21:38:52 +00:00
|
|
|
|
UserIdsWithAccess = new List<string>();
|
|
|
|
|
}
|
2014-12-28 17:59:40 +00:00
|
|
|
|
}
|
|
|
|
|
}
|