mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 22:43:07 +03:00
Enable TreatWarningsAsErrors for MediaBrowser.Model
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user