2024-04-14 16:43:09 +02:00
|
|
|
|
namespace UmlautAdaptarr.Options
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Global options for the UmlautAdaptarr application.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class GlobalOptions
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The host of the UmlautAdaptarr API.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string UmlautAdaptarrApiHost { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The User-Agent string used in HTTP requests.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string UserAgent { get; set; }
|
2025-01-13 21:20:03 +01:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The duration in minutes to cache the indexer requests.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int IndexerRequestsCacheDurationInMinutes { get; set; } = 12;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// API key for requests to the UmlautAdaptarr. Optional.
|
|
|
|
|
|
public string? ApiKey { get; set; } = null;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Proxy port for the internal UmlautAdaptarr proxy.
|
|
|
|
|
|
public int ProxyPort { get; set; } = 5006;
|
2024-04-14 16:43:09 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|