diff options
| author | crobibero <cody@robibe.ro> | 2020-06-04 15:16:04 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-04 15:16:04 -0600 |
| commit | a787efc66027b678cb09e83002ce3f9ba00e206d (patch) | |
| tree | cc460c9a764461158c548eb72332d82d3c1d7280 /Jellyfin.Api/Models/NotificationDtos/NotificationsSummaryDto.cs | |
| parent | 341b947cdecdfc791c1bc3e72da1e68cd3754c3a (diff) | |
| parent | 601e4a88c94ea0ccaab9f3c148d4bbdca2e532ee (diff) | |
Merge remote-tracking branch 'upstream/api-migration' into api-scheduled-tasks
Diffstat (limited to 'Jellyfin.Api/Models/NotificationDtos/NotificationsSummaryDto.cs')
| -rw-r--r-- | Jellyfin.Api/Models/NotificationDtos/NotificationsSummaryDto.cs | 22 |
1 files changed, 22 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..b3746ee2d --- /dev/null +++ b/Jellyfin.Api/Models/NotificationDtos/NotificationsSummaryDto.cs @@ -0,0 +1,22 @@ +#nullable enable + +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; } + } +} |
