NotificationResultDto.cs 633 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Jellyfin.Api.Models.NotificationDtos
  4. {
  5. /// <summary>
  6. /// A list of notifications with the total record count for pagination.
  7. /// </summary>
  8. public class NotificationResultDto
  9. {
  10. /// <summary>
  11. /// Gets or sets the current page of notifications.
  12. /// </summary>
  13. public IReadOnlyList<NotificationDto> Notifications { get; set; } = Array.Empty<NotificationDto>();
  14. /// <summary>
  15. /// Gets or sets the total number of notifications.
  16. /// </summary>
  17. public int TotalRecordCount { get; set; }
  18. }
  19. }