mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Small refactorings
This commit is contained in:
parent
1067b9afd7
commit
83bb1b58e7
7 changed files with 41 additions and 46 deletions
|
@ -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; }
|
||||
|
|
|
@ -45,6 +45,9 @@ namespace PlexRequests.Core.SettingModels
|
|||
};
|
||||
}
|
||||
|
||||
|
||||
public bool Enabled { get; set; }
|
||||
|
||||
public List<NotificationMessage> Message { get; set; }
|
||||
}
|
||||
|
||||
|
|
|
@ -30,6 +30,5 @@ namespace PlexRequests.Core.SettingModels
|
|||
{
|
||||
public string AccessToken { get; set; }
|
||||
public string DeviceIdentifier { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
}
|
|
@ -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; }
|
||||
}
|
||||
}
|
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue