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)]
|
|
|
|
|
[DisplayName("NZBMatrix 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)]
|
|
|
|
|
[DisplayName("NZBMatrix 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)]
|
|
|
|
|
[DisplayName("NZBs.Org 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)]
|
|
|
|
|
[DisplayName("NZBs.Org 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)]
|
|
|
|
|
[DisplayName("NZBsRus 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)]
|
|
|
|
|
[DisplayName("NZBsRus 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-10 04:44:01 +02:00
|
|
|
|
public List<Indexer> Indexers { get; set; }
|
2011-02-11 02:22:29 +01:00
|
|
|
|
}
|
|
|
|
|
}
|