diff options
| author | ZadenRB <zaden.ruggieroboune@gmail.com> | 2020-04-15 00:01:31 -0600 |
|---|---|---|
| committer | ZadenRB <zaden.ruggieroboune@gmail.com> | 2020-04-15 00:01:31 -0600 |
| commit | 1180b9746fe7c4a6562baff77910819a6706510b (patch) | |
| tree | 3f70a923bc6b4d2d30fa2c4f0ef947ed2f87abca /Jellyfin.Api/Models/NotificationDtos/NotificationsSummaryDto.cs | |
| parent | 96795ca250980fedee8a4db3eb4e61755478db75 (diff) | |
Migrates the notifications service to use ASP.NET MVC framework
Diffstat (limited to 'Jellyfin.Api/Models/NotificationDtos/NotificationsSummaryDto.cs')
| -rw-r--r-- | Jellyfin.Api/Models/NotificationDtos/NotificationsSummaryDto.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Jellyfin.Api/Models/NotificationDtos/NotificationsSummaryDto.cs b/Jellyfin.Api/Models/NotificationDtos/NotificationsSummaryDto.cs new file mode 100644 index 000000000..c18ab545d --- /dev/null +++ b/Jellyfin.Api/Models/NotificationDtos/NotificationsSummaryDto.cs @@ -0,0 +1,20 @@ +using MediaBrowser.Model.Notifications; + +namespace Jellyfin.Api.Models.NotificationDtos +{ + /// <summary> + /// The notification summary DTO. + /// </summary> + public class NotificationsSummaryDto + { + /// <summary> + /// Gets or sets the number of unread notifications. + /// </summary> + public int UnreadCount { get; set; } + + /// <summary> + /// Gets or sets the maximum unread notification level. + /// </summary> + public NotificationLevel MaxUnreadNotificationLevel { get; set; } + } +} |
