mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-23 02:24:44 +01:00
added cloud sync model objects
This commit is contained in:
@@ -12,7 +12,7 @@ namespace MediaBrowser.Model.Sync
|
||||
/// Gets or sets the device identifier.
|
||||
/// </summary>
|
||||
/// <value>The device identifier.</value>
|
||||
public string DeviceId { get; set; }
|
||||
public string TargetId { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the item identifier.
|
||||
/// </summary>
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace MediaBrowser.Model.Sync
|
||||
/// Gets or sets the device identifier.
|
||||
/// </summary>
|
||||
/// <value>The device identifier.</value>
|
||||
public List<string> DeviceIds { get; set; }
|
||||
public List<string> TargetIds { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the item identifier.
|
||||
/// </summary>
|
||||
@@ -22,7 +22,7 @@ namespace MediaBrowser.Model.Sync
|
||||
|
||||
public SyncJobRequest()
|
||||
{
|
||||
DeviceIds = new List<string>();
|
||||
TargetIds = new List<string>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace MediaBrowser.Model.Sync
|
||||
/// Gets or sets the device identifier.
|
||||
/// </summary>
|
||||
/// <value>The device identifier.</value>
|
||||
public List<string> DeviceIds { get; set; }
|
||||
public List<string> TargetIds { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the quality.
|
||||
/// </summary>
|
||||
@@ -17,7 +17,7 @@ namespace MediaBrowser.Model.Sync
|
||||
|
||||
public SyncScheduleRequest()
|
||||
{
|
||||
DeviceIds = new List<string>();
|
||||
TargetIds = new List<string>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
17
MediaBrowser.Model/Sync/SyncTarget.cs
Normal file
17
MediaBrowser.Model/Sync/SyncTarget.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
namespace MediaBrowser.Model.Sync
|
||||
{
|
||||
public class SyncTarget
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the identifier.
|
||||
/// </summary>
|
||||
/// <value>The identifier.</value>
|
||||
public string Id { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user