Ombi/src/Ombi.Notifications/Models/NotificationMessage.cs
Namaneo 8ae98c91c1 Minor updates related to Github's comments
* Access-Token Header is not sent if it has not been configured (or left blank)
* Access token is now also sent in URI string with "token" as key
* NotificationType is manually added to the notification data (original data is cloned before to avoid conflict in case of re-usage by other notification handlers)
2019-11-30 18:18:33 +01:00

14 lines
No EOL
414 B
C#

using System.Collections.Generic;
namespace Ombi.Notifications.Models
{
public class NotificationMessage
{
public string Subject { get; set; }
public string Message { get; set; }
public string To { get; set; }
public Dictionary<string, string> Other { get; set; } = new Dictionary<string, string>();
public IDictionary<string, string> Data { get; set; }
}
}