NotificationsSummaryDto.cs 574 B

12345678910111213141516171819202122
  1. #nullable enable
  2. using MediaBrowser.Model.Notifications;
  3. namespace Jellyfin.Api.Models.NotificationDtos
  4. {
  5. /// <summary>
  6. /// The notification summary DTO.
  7. /// </summary>
  8. public class NotificationsSummaryDto
  9. {
  10. /// <summary>
  11. /// Gets or sets the number of unread notifications.
  12. /// </summary>
  13. public int UnreadCount { get; set; }
  14. /// <summary>
  15. /// Gets or sets the maximum unread notification level.
  16. /// </summary>
  17. public NotificationLevel? MaxUnreadNotificationLevel { get; set; }
  18. }
  19. }