lampac/JacRed/Models/AppConf/TrackerSettings.cs
lampac-talks f843f04fd4 chore: initial commit 154.3
Signed-off-by: lampac-talks <lampac-talks@users.noreply.github.com>
2026-01-30 16:23:09 +03:00

44 lines
1.0 KiB
C#

using Shared.Models.Base;
namespace JacRed.Models.AppConf
{
public class TrackerSettings : Iproxy
{
public TrackerSettings(string host, bool enable = true, bool useproxy = false, LoginSettings login = null, string priority = null)
{
this.host = host;
this.enable = enable;
this.useproxy = useproxy;
if (login != null)
this.login = login;
this.priority = priority;
}
public string host { get; set; }
public bool enable { get; set; }
public bool showdown { get; set; }
public bool monitor_showdown { get; set; } = true;
public string priority { get; set; }
public LoginSettings login { get; set; } = new LoginSettings();
public string cookie { get; set; }
public bool useproxy { get; set; }
public bool useproxystream { get; set; }
public string globalnameproxy { get; set; }
public ProxySettings proxy { get; set; }
}
}