jellyfin/MediaBrowser.Model/Sync/LocalItem.cs

61 lines
1.9 KiB
C#
Raw Normal View History

2014-12-28 10:59:40 -07:00
using MediaBrowser.Model.Dto;
2015-02-03 14:38:52 -07:00
using System.Collections.Generic;
2014-12-28 10:59:40 -07: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-28 22:56:55 -07:00
public string LocalPath { get; set; }
2014-12-28 10:59:40 -07: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-01 22:36:27 -07:00
public string Id { get; set; }
2014-12-28 10:59:40 -07:00
/// <summary>
2015-04-12 22:12:02 -07:00
/// Gets or sets the file identifier.
/// </summary>
/// <value>The file identifier.</value>
public string FileId { get; set; }
/// <summary>
2014-12-28 10:59:40 -07:00
/// Gets or sets the item identifier.
/// </summary>
/// <value>The item identifier.</value>
public string ItemId { get; set; }
2015-02-03 14:38:52 -07:00
/// <summary>
2015-03-31 11:50:08 -07: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 14:38:52 -07: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-27 19:19:20 -07:00
/// <summary>
/// Gets or sets the additional files.
/// </summary>
/// <value>The additional files.</value>
public List<string> AdditionalFiles { get; set; }
2015-02-03 14:38:52 -07:00
public LocalItem()
{
2015-03-27 19:19:20 -07:00
AdditionalFiles = new List<string>();
2015-02-03 14:38:52 -07:00
UserIdsWithAccess = new List<string>();
}
2014-12-28 10:59:40 -07:00
}
}