aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/NotificationDtos/NotificationResultDto.cs
blob: 64e92bd83a0eafdd0972098d7b8c1b1242007205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;

namespace Jellyfin.Api.Models.NotificationDtos
{
    /// <summary>
    /// A list of notifications with the total record count for pagination.
    /// </summary>
    public class NotificationResultDto
    {
        /// <summary>
        /// Gets or sets the current page of notifications.
        /// </summary>
        public IReadOnlyList<NotificationDto> Notifications { get; set; } = Array.Empty<NotificationDto>();

        /// <summary>
        /// Gets or sets the total number of notifications.
        /// </summary>
        public int TotalRecordCount { get; set; }
    }
}