|
|
@ -24,17 +24,17 @@ namespace NzbDrone.Web.Models
|
|
|
|
public String NzbMatrixApiKey { get; set; }
|
|
|
|
public String NzbMatrixApiKey { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
[DisplayName("UID")]
|
|
|
|
[DisplayName("User ID")]
|
|
|
|
[Description("User ID for NZBsRus")]
|
|
|
|
[Description("User ID for NZBsRus")]
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
|
|
[RequiredIf("NzbsRUsEnabled", true, ErrorMessage = "UID Required when NzbsRus is enabled")]
|
|
|
|
[RequiredIf("NzbsRUsEnabled", true, ErrorMessage = "User ID Required when NzbsRus is enabled")]
|
|
|
|
public String NzbsrusUId { get; set; }
|
|
|
|
public String NzbsrusUId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
[DisplayName("Hash")]
|
|
|
|
[DisplayName("API Key")]
|
|
|
|
[Description("Hash for NZBsRus")]
|
|
|
|
[Description("API Key for NZBsRus")]
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
|
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
|
|
|
[RequiredIf("NzbsRUsEnabled", true, ErrorMessage = "Hash Required when NzbsRus is enabled")]
|
|
|
|
[RequiredIf("NzbsRUsEnabled", true, ErrorMessage = "API Key Required when NzbsRus is enabled")]
|
|
|
|
public String NzbsrusHash { get; set; }
|
|
|
|
public String NzbsrusHash { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|
[DataType(DataType.Text)]
|
|
|
|