2011-02-11 02:22:29 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using NzbDrone.Core.Repository;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Web.Models
|
|
|
|
|
{
|
|
|
|
|
public class IndexerSettingsModel
|
|
|
|
|
{
|
|
|
|
|
[DataType(DataType.Text)]
|
2011-04-20 01:46:21 +02:00
|
|
|
|
[DisplayName("Username")]
|
2011-02-15 02:20:17 +01:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 04:44:01 +02:00
|
|
|
|
public String NzbMatrixUsername { get; set; }
|
2011-02-11 02:22:29 +01:00
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
2011-04-20 01:46:21 +02:00
|
|
|
|
[DisplayName("API Key")]
|
2011-02-15 02:20:17 +01:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 04:44:01 +02:00
|
|
|
|
public String NzbMatrixApiKey { get; set; }
|
2011-02-11 02:22:29 +01:00
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
2011-04-20 01:46:21 +02:00
|
|
|
|
[DisplayName("UID")]
|
2011-02-15 02:20:17 +01:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 04:44:01 +02:00
|
|
|
|
public String NzbsOrgUId { get; set; }
|
2011-02-11 02:22:29 +01:00
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
2011-04-20 01:46:21 +02:00
|
|
|
|
[DisplayName("Hash")]
|
2011-02-15 02:20:17 +01:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 04:44:01 +02:00
|
|
|
|
public String NzbsOrgHash { get; set; }
|
2011-02-11 02:22:29 +01:00
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
2011-04-20 01:46:21 +02:00
|
|
|
|
[DisplayName("UID")]
|
2011-02-15 02:20:17 +01:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 04:44:01 +02:00
|
|
|
|
public String NzbsrusUId { get; set; }
|
2011-02-11 02:22:29 +01:00
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
2011-04-20 01:46:21 +02:00
|
|
|
|
[DisplayName("Hash")]
|
2011-02-15 02:20:17 +01:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 04:44:01 +02:00
|
|
|
|
public String NzbsrusHash { get; set; }
|
2011-02-11 02:22:29 +01:00
|
|
|
|
|
2011-04-20 01:46:21 +02:00
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
|
[DisplayName("Username")]
|
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
|
|
|
public String NewzbinUsername { get; set; }
|
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
|
[DisplayName("Password")]
|
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
|
|
|
public String NewzbinPassword { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("NZBs.org")]
|
|
|
|
|
public bool NzbsOrgEnabled { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("NZB Matrix")]
|
|
|
|
|
public bool NzbMatrixEnabled { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("NZBsRUs")]
|
|
|
|
|
public bool NzbsRUsEnabled { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Newzbin")]
|
|
|
|
|
public bool NewzbinEnabled { get; set; }
|
2011-02-11 02:22:29 +01:00
|
|
|
|
}
|
|
|
|
|
}
|