25 lines
641 B
C#
25 lines
641 B
C#
|
|
namespace Books.Api.AiBookkeeper;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Configuration options for the AI Bookkeeper service.
|
||
|
|
/// </summary>
|
||
|
|
public class AiBookkeeperOptions
|
||
|
|
{
|
||
|
|
public const string ConfigurationSection = "AiBookkeeper";
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Base URL for the AI Bookkeeper API.
|
||
|
|
/// </summary>
|
||
|
|
public string BaseUrl { get; set; } = "https://ai-bookkeeper.softwarehuset.com";
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// API key for authentication.
|
||
|
|
/// </summary>
|
||
|
|
public string ApiKey { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Request timeout in seconds.
|
||
|
|
/// </summary>
|
||
|
|
public int TimeoutSeconds { get; set; } = 60;
|
||
|
|
}
|