Select type added for client schema

This commit is contained in:
Mark McDowall
2013-06-13 00:20:33 -07:00
parent 954ac925d0
commit ca334ef664
10 changed files with 76 additions and 5 deletions

View File

@@ -11,8 +11,8 @@ namespace NzbDrone.Core.Notifications.Prowl
[FieldDefinition(0, Label = "API Key", HelpText = "API Key for Prowl")]
public String ApiKey { get; set; }
[FieldDefinition(1, Label = "Priority", HelpText = "Priority to send messages at")]
public Nullable<Int32> Priority { get; set; }
[FieldDefinition(1, Label = "Priority", HelpText = "Priority to send messages at", Type = FieldType.Select, SelectOptions= typeof(ProwlPriority) )]
public Int32 Priority { get; set; }
public bool IsValid
{