2011-02-11 01:22:29 +00: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)]
|
|
|
|
|
[DisplayName("NZBMatrix Username")]
|
2011-02-15 01:20:17 +00:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 02:44:01 +00:00
|
|
|
|
public String NzbMatrixUsername { get; set; }
|
2011-02-11 01:22:29 +00:00
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
|
[DisplayName("NZBMatrix API Key")]
|
2011-02-15 01:20:17 +00:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 02:44:01 +00:00
|
|
|
|
public String NzbMatrixApiKey { get; set; }
|
2011-02-11 01:22:29 +00:00
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
|
[DisplayName("NZBs.Org UID")]
|
2011-02-15 01:20:17 +00:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 02:44:01 +00:00
|
|
|
|
public String NzbsOrgUId { get; set; }
|
2011-02-11 01:22:29 +00:00
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
|
[DisplayName("NZBs.Org Hash")]
|
2011-02-15 01:20:17 +00:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 02:44:01 +00:00
|
|
|
|
public String NzbsOrgHash { get; set; }
|
2011-02-11 01:22:29 +00:00
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
|
[DisplayName("NZBsRus UID")]
|
2011-02-15 01:20:17 +00:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 02:44:01 +00:00
|
|
|
|
public String NzbsrusUId { get; set; }
|
2011-02-11 01:22:29 +00:00
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
|
[DisplayName("NZBsRus Hash")]
|
2011-02-15 01:20:17 +00:00
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
2011-04-10 02:44:01 +00:00
|
|
|
|
public String NzbsrusHash { get; set; }
|
2011-02-11 01:22:29 +00:00
|
|
|
|
|
2011-04-19 00:12:06 +00:00
|
|
|
|
public List<IndexerSetting> Indexers { get; set; }
|
2011-02-11 01:22:29 +00:00
|
|
|
|
}
|
|
|
|
|
}
|