Small refactorings

This commit is contained in:
Jamie.Rees 2016-12-16 09:28:48 +00:00
commit 83bb1b58e7
7 changed files with 41 additions and 46 deletions

View file

@ -33,7 +33,6 @@ namespace PlexRequests.Core.SettingModels
public int EmailPort { get; set; }
public string EmailSender { get; set; }
public string EmailUsername { get; set; }
public bool Enabled { get; set; }
public bool Authentication { get; set; }
public bool EnableUserEmailNotifications { get; set; }
public string RecipientEmail { get; set; }

View file

@ -45,6 +45,9 @@ namespace PlexRequests.Core.SettingModels
};
}
public bool Enabled { get; set; }
public List<NotificationMessage> Message { get; set; }
}

View file

@ -30,6 +30,5 @@ namespace PlexRequests.Core.SettingModels
{
public string AccessToken { get; set; }
public string DeviceIdentifier { get; set; }
public bool Enabled { get; set; }
}
}

View file

@ -29,7 +29,6 @@ namespace PlexRequests.Core.SettingModels
public sealed class PushoverNotificationSettings : NotificationSettings
{
public string AccessToken { get; set; }
public bool Enabled { get; set; }
public string UserToken { get; set; }
}
}

View file

@ -6,7 +6,6 @@ namespace PlexRequests.Core.SettingModels
{
public sealed class SlackNotificationSettings : NotificationSettings
{
public bool Enabled { get; set; }
public string WebhookUrl { get; set; }
public string Channel { get; set; }
public string Username { get; set; }