jellyfin/MediaBrowser.Model/Sync/SyncDialogOptions.cs

53 lines
1.6 KiB
C#
Raw Normal View History

2014-12-16 22:30:31 -07:00
using System.Collections.Generic;
namespace MediaBrowser.Model.Sync
{
public class SyncDialogOptions
{
/// <summary>
/// Gets or sets the targets.
/// </summary>
/// <value>The targets.</value>
public List<SyncTarget> Targets { get; set; }
/// <summary>
/// Gets or sets the options.
/// </summary>
/// <value>The options.</value>
2015-01-16 21:29:53 -07:00
public List<SyncJobOption> Options { get; set; }
/// <summary>
/// Gets or sets the quality options.
/// </summary>
/// <value>The quality options.</value>
2015-03-07 15:43:53 -07:00
public List<SyncQualityOption> QualityOptions { get; set; }
2014-12-16 22:30:31 -07:00
public SyncDialogOptions()
{
Targets = new List<SyncTarget>();
2015-01-16 21:29:53 -07:00
Options = new List<SyncJobOption>();
2015-03-07 15:43:53 -07:00
QualityOptions = new List<SyncQualityOption>
{
2015-03-07 15:43:53 -07:00
new SyncQualityOption
2015-03-03 11:48:47 -07:00
{
Name = SyncQuality.Original.ToString(),
2015-03-07 15:43:53 -07:00
Id = SyncQuality.Original.ToString()
2015-03-03 11:48:47 -07:00
},
2015-03-07 15:43:53 -07:00
new SyncQualityOption
2015-03-03 11:48:47 -07:00
{
Name = SyncQuality.High.ToString(),
2015-03-07 15:43:53 -07:00
Id = SyncQuality.High.ToString()
2015-03-03 11:48:47 -07:00
},
2015-03-07 15:43:53 -07:00
new SyncQualityOption
2015-03-03 11:48:47 -07:00
{
Name = SyncQuality.Medium.ToString(),
2015-03-07 15:43:53 -07:00
Id = SyncQuality.Medium.ToString()
2015-03-03 11:48:47 -07:00
},
2015-03-07 15:43:53 -07:00
new SyncQualityOption
2015-03-03 11:48:47 -07:00
{
Name = SyncQuality.Low.ToString(),
2015-03-07 15:43:53 -07:00
Id = SyncQuality.Low.ToString()
2015-03-03 11:48:47 -07:00
}
};
2014-12-16 22:30:31 -07:00
}
}
}