2014-02-16 09:56:12 +00:00
|
|
|
|
using System;
|
|
|
|
|
using NzbDrone.Api.REST;
|
2014-04-28 06:34:29 +00:00
|
|
|
|
using NzbDrone.Core.Update;
|
2014-02-16 09:56:12 +00:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Api.Config
|
|
|
|
|
{
|
|
|
|
|
public class HostConfigResource : RestResource
|
|
|
|
|
{
|
|
|
|
|
public Int32 Port { get; set; }
|
|
|
|
|
public Int32 SslPort { get; set; }
|
|
|
|
|
public Boolean EnableSsl { get; set; }
|
|
|
|
|
public Boolean LaunchBrowser { get; set; }
|
2014-09-27 19:39:29 +00:00
|
|
|
|
public bool AuthenticationEnabled { get; set; }
|
|
|
|
|
public Boolean AnalyticsEnabled { get; set; }
|
2014-02-16 09:56:12 +00:00
|
|
|
|
public String Username { get; set; }
|
|
|
|
|
public String Password { get; set; }
|
|
|
|
|
public String LogLevel { get; set; }
|
|
|
|
|
public String Branch { get; set; }
|
|
|
|
|
public String ApiKey { get; set; }
|
|
|
|
|
public Boolean Torrent { get; set; }
|
|
|
|
|
public String SslCertHash { get; set; }
|
|
|
|
|
public String UrlBase { get; set; }
|
2014-04-28 06:34:29 +00:00
|
|
|
|
public Boolean UpdateAutomatically { get; set; }
|
|
|
|
|
public UpdateMechanism UpdateMechanism { get; set; }
|
|
|
|
|
public String UpdateScriptPath { get; set; }
|
2014-02-16 09:56:12 +00:00
|
|
|
|
}
|
|
|
|
|
}
|