diff options
Diffstat (limited to 'MediaBrowser.Model/Sync')
| -rw-r--r-- | MediaBrowser.Model/Sync/SyncJob.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Model/Sync/SyncJobRequest.cs | 4 | ||||
| -rw-r--r-- | MediaBrowser.Model/Sync/SyncScheduleRequest.cs | 4 | ||||
| -rw-r--r-- | MediaBrowser.Model/Sync/SyncTarget.cs | 17 |
4 files changed, 22 insertions, 5 deletions
diff --git a/MediaBrowser.Model/Sync/SyncJob.cs b/MediaBrowser.Model/Sync/SyncJob.cs index 09049a196b..34809834cf 100644 --- a/MediaBrowser.Model/Sync/SyncJob.cs +++ b/MediaBrowser.Model/Sync/SyncJob.cs @@ -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> diff --git a/MediaBrowser.Model/Sync/SyncJobRequest.cs b/MediaBrowser.Model/Sync/SyncJobRequest.cs index 9871f976d2..42b744db66 100644 --- a/MediaBrowser.Model/Sync/SyncJobRequest.cs +++ b/MediaBrowser.Model/Sync/SyncJobRequest.cs @@ -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>(); } } } diff --git a/MediaBrowser.Model/Sync/SyncScheduleRequest.cs b/MediaBrowser.Model/Sync/SyncScheduleRequest.cs index e1ba4b1154..076548f57c 100644 --- a/MediaBrowser.Model/Sync/SyncScheduleRequest.cs +++ b/MediaBrowser.Model/Sync/SyncScheduleRequest.cs @@ -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>(); } } } diff --git a/MediaBrowser.Model/Sync/SyncTarget.cs b/MediaBrowser.Model/Sync/SyncTarget.cs new file mode 100644 index 0000000000..8901f0f276 --- /dev/null +++ b/MediaBrowser.Model/Sync/SyncTarget.cs @@ -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; } + } +} |
