aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Notifications/NotificationRequest.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2021-02-22 21:00:46 -0500
committerGitHub <noreply@github.com>2021-02-22 21:00:46 -0500
commit7ece3c552337340a997a75aab1520a501a673f61 (patch)
tree4bb865830c06de487d65706959b5df2b47fc14e1 /MediaBrowser.Model/Notifications/NotificationRequest.cs
parentc0c4aff8a642013ec406c065c8374aaad8b4ef65 (diff)
parent003945f25b8d19de4638789bf0cdf580c546c9dd (diff)
Merge pull request #5273 from Bond-009/warn31
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;
- }
}
}