using System;
using MediaBrowser.Model.Notifications;
namespace Jellyfin.Api.Models.NotificationDtos
{
///
/// The notification DTO.
///
public class NotificationDto
{
///
/// Gets or sets the notification ID. Defaults to an empty string.
///
public string Id { get; set; } = string.Empty;
///
/// Gets or sets the notification's user ID. Defaults to an empty string.
///
public string UserId { get; set; } = string.Empty;
///
/// Gets or sets the notification date.
///
public DateTime Date { get; set; }
///
/// Gets or sets a value indicating whether the notification has been read. Defaults to false.
///
public bool IsRead { get; set; } = false;
///
/// Gets or sets the notification's name. Defaults to an empty string.
///
public string Name { get; set; } = string.Empty;
///
/// Gets or sets the notification's description. Defaults to an empty string.
///
public string Description { get; set; } = string.Empty;
///
/// Gets or sets the notification's URL. Defaults to an empty string.
///
public string Url { get; set; } = string.Empty;
///
/// Gets or sets the notification level.
///
public NotificationLevel Level { get; set; }
}
}