sync updates

This commit is contained in:
Luke Pulverenti
2014-12-29 00:56:55 -05:00
parent 55a726cdef
commit 800a16a213
16 changed files with 86 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ namespace MediaBrowser.Model.Sync
{
public class DeviceFileInfo
{
public string[] Path { get; set; }
public string Path { get; set; }
public string Name { get; set; }
}
}

View File

@@ -18,7 +18,7 @@ namespace MediaBrowser.Model.Sync
/// Gets or sets the path.
/// </summary>
/// <value>The path.</value>
public string[] Path { get; set; }
public string Path { get; set; }
/// <summary>
/// Gets or sets the type of the image.
/// </summary>

View File

@@ -13,7 +13,7 @@ namespace MediaBrowser.Model.Sync
/// Gets or sets the local path.
/// </summary>
/// <value>The local path.</value>
public string[] LocalPath { get; set; }
public string LocalPath { get; set; }
/// <summary>
/// Gets or sets the server identifier.
/// </summary>

View File

@@ -0,0 +1,16 @@
using System.Collections.Generic;
namespace MediaBrowser.Model.Sync
{
public class SyncDataRequest
{
public List<string> LocalItemIds { get; set; }
public string TargetId { get; set; }
public SyncDataRequest()
{
LocalItemIds = new List<string>();
}
}
}

View File

@@ -0,0 +1,14 @@
using System.Collections.Generic;
namespace MediaBrowser.Model.Sync
{
public class SyncDataResponse
{
public List<string> ItemIdsToRemove { get; set; }
public SyncDataResponse()
{
ItemIdsToRemove = new List<string>();
}
}
}