NotificationResultDto.cs 651 B

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