aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs
diff options
context:
space:
mode:
authorDominik <git@secnd.me>2023-06-15 19:38:42 +0200
committerGitHub <noreply@github.com>2023-06-15 19:38:42 +0200
commit17f1e8d19b1fd693893d66d2275ed8ae2476344e (patch)
tree7f48be975faa92042769870957587b3c7864f631 /Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs
parente8ae7e5c38e28f13fa8de295e26c930cb46d9b79 (diff)
parent6771b5cabe96b4b3cbd1cd0c998d564f3dd17ed4 (diff)
Merge branch 'master' into segment-deletion
Diffstat (limited to 'Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs')
-rw-r--r--Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs51
1 files changed, 0 insertions, 51 deletions
diff --git a/Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs b/Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs
deleted file mode 100644
index af5239ec2..000000000
--- a/Jellyfin.Api/Models/NotificationDtos/NotificationDto.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using System;
-using MediaBrowser.Model.Notifications;
-
-namespace Jellyfin.Api.Models.NotificationDtos
-{
- /// <summary>
- /// The notification DTO.
- /// </summary>
- public class NotificationDto
- {
- /// <summary>
- /// Gets or sets the notification ID. Defaults to an empty string.
- /// </summary>
- public string Id { get; set; } = string.Empty;
-
- /// <summary>
- /// Gets or sets the notification's user ID. Defaults to an empty string.
- /// </summary>
- public string UserId { get; set; } = string.Empty;
-
- /// <summary>
- /// Gets or sets the notification date.
- /// </summary>
- public DateTime Date { get; set; }
-
- /// <summary>
- /// Gets or sets a value indicating whether the notification has been read. Defaults to false.
- /// </summary>
- public bool IsRead { get; set; } = false;
-
- /// <summary>
- /// Gets or sets the notification's name. Defaults to an empty string.
- /// </summary>
- public string Name { get; set; } = string.Empty;
-
- /// <summary>
- /// Gets or sets the notification's description. Defaults to an empty string.
- /// </summary>
- public string Description { get; set; } = string.Empty;
-
- /// <summary>
- /// Gets or sets the notification's URL. Defaults to an empty string.
- /// </summary>
- public string Url { get; set; } = string.Empty;
-
- /// <summary>
- /// Gets or sets the notification level.
- /// </summary>
- public NotificationLevel Level { get; set; }
- }
-}