using System; using System.Collections.Generic; using Ombi.Settings.Settings.Models.External; namespace Ombi.Core.Settings.Models.External { public sealed class PlexSettings : Ombi.Settings.Settings.Models.Settings { public bool Enable { get; set; } /// /// This is the ClientId for OAuth /// public Guid InstallId { get; set; } public List Servers { get; set; } } public class PlexServers : ExternalSettings { public string Name { get; set; } public string PlexAuthToken { get; set; } public string MachineIdentifier { get; set; } public int EpisodeBatchSize { get; set; } public List PlexSelectedLibraries { get; set; } = new List(); } public class PlexSelectedLibraries { public int Key { get; set; } public string Title { get; set; } // Name is for display purposes public bool Enabled { get; set; } } }