mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-10 21:12:56 +01:00
ff44d05a72
class variables for _settingsSaved, _settingsFailed to easily change all error messages when saving
73 lines
1.7 KiB
C#
73 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using NzbDrone.Core.Repository;
|
|
|
|
namespace NzbDrone.Web.Models
|
|
{
|
|
public class IndexerSettingsModel
|
|
{
|
|
[DataType(DataType.Text)]
|
|
[DisplayName("NZBMatrix Username")]
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
public String NzbMatrixUsername
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[DataType(DataType.Text)]
|
|
[DisplayName("NZBMatrix API Key")]
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
public String NzbMatrixApiKey
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[DataType(DataType.Text)]
|
|
[DisplayName("NZBs.Org UID")]
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
public String NzbsOrgUId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[DataType(DataType.Text)]
|
|
[DisplayName("NZBs.Org Hash")]
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
public String NzbsOrgHash
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[DataType(DataType.Text)]
|
|
[DisplayName("NZBsRus UID")]
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
public String NzbsrusUId
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[DataType(DataType.Text)]
|
|
[DisplayName("NZBsRus Hash")]
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
public String NzbsrusHash
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public List<Indexer> Indexers
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
} |