mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
33 lines
No EOL
1 KiB
C#
33 lines
No EOL
1 KiB
C#
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; }
|
|
/// <summary>
|
|
/// This is the ClientId for OAuth
|
|
/// </summary>
|
|
public Guid InstallId { get; set; }
|
|
public List<PlexServers> 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> PlexSelectedLibraries { get; set; } = new List<PlexSelectedLibraries>();
|
|
}
|
|
public class PlexSelectedLibraries
|
|
{
|
|
public int Key { get; set; }
|
|
public string Title { get; set; } // Name is for display purposes
|
|
public bool Enabled { get; set; }
|
|
}
|
|
} |