aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Notifications/NotificationRequest.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2021-02-28 10:12:14 +0000
committerBaronGreenback <jimcartlidge@yahoo.co.uk>2021-02-28 10:12:14 +0000
commit80ca3da55c7d8ec9cf06a619fc895c1e427c45ff (patch)
tree95f5ddce05f6ede680b815cfe5dbf413ce6fb352 /MediaBrowser.Model/Notifications/NotificationRequest.cs
parent1d6f489f17919e557987b2616048dc8def790f43 (diff)
parentf8c9c37c29efa6d42b79d6db3aa8a69a60106765 (diff)
Merge remote-tracking branch 'upstream/master' into FixFor5280Part2
Diffstat (limited to 'MediaBrowser.Model/Notifications/NotificationRequest.cs')
-rw-r--r--MediaBrowser.Model/Notifications/NotificationRequest.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/MediaBrowser.Model/Notifications/NotificationRequest.cs b/MediaBrowser.Model/Notifications/NotificationRequest.cs
index febc2bc09..622c50cd8 100644
--- a/MediaBrowser.Model/Notifications/NotificationRequest.cs
+++ b/MediaBrowser.Model/Notifications/NotificationRequest.cs
@@ -7,6 +7,12 @@ namespace MediaBrowser.Model.Notifications
{
public class NotificationRequest
{
+ public NotificationRequest()
+ {
+ UserIds = Array.Empty<Guid>();
+ Date = DateTime.UtcNow;
+ }
+
public string Name { get; set; }
public string Description { get; set; }
@@ -20,16 +26,10 @@ namespace MediaBrowser.Model.Notifications
public DateTime Date { get; set; }
/// <summary>
- /// The corresponding type name used in configuration. Not for display.
+ /// Gets or sets the corresponding type name used in configuration. Not for display.
/// </summary>
public string NotificationType { get; set; }
public SendToUserType? SendToUserMode { get; set; }
-
- public NotificationRequest()
- {
- UserIds = Array.Empty<Guid>();
- Date = DateTime.UtcNow;
- }
}
}