2025-03-12 14:28:36 -04:00
|
|
|
namespace PublishTimes;
|
|
|
|
|
2025-03-12 15:23:11 -04:00
|
|
|
/// <summary>
|
|
|
|
/// Represents the configuration settings for exporting a schedule,
|
|
|
|
/// including file name, directory path, and available topics.
|
|
|
|
/// </summary>
|
2025-03-12 14:28:36 -04:00
|
|
|
public class Config
|
|
|
|
{
|
2025-03-12 15:23:11 -04:00
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the name of the schedule file.
|
|
|
|
/// </summary>
|
2025-03-12 14:28:36 -04:00
|
|
|
public string? File { get; set; }
|
2025-03-12 15:23:11 -04:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the directory path where the schedule file is stored.
|
|
|
|
/// </summary>
|
2025-03-12 14:28:36 -04:00
|
|
|
public string? Path { get; set; }
|
2025-03-12 15:23:11 -04:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the list of available topics from the configuration file.
|
|
|
|
/// </summary>
|
2025-03-12 14:28:36 -04:00
|
|
|
public TomlArray? Topics { get; set; }
|
|
|
|
}
|