aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/NotificationDtos/AdminNotificationDto.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-03-13 15:03:06 +0100
committerGitHub <noreply@github.com>2021-03-13 15:03:06 +0100
commit7a988ef77ddcd8450c10f145178e82a3f0f50883 (patch)
tree0c74a1a7f09c5c83e2445d6e909dead0dc350cd5 /Jellyfin.Api/Models/NotificationDtos/AdminNotificationDto.cs
parent80846a1c66eb7f669d95d021786b5273ba3b15f6 (diff)
parenteef15dc7ac23f026f11334e2a262a572df126e48 (diff)
Merge pull request #5500 from crobibero/api-integration-fix
Fix third party integration
Diffstat (limited to 'Jellyfin.Api/Models/NotificationDtos/AdminNotificationDto.cs')
-rw-r--r--Jellyfin.Api/Models/NotificationDtos/AdminNotificationDto.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/Jellyfin.Api/Models/NotificationDtos/AdminNotificationDto.cs b/Jellyfin.Api/Models/NotificationDtos/AdminNotificationDto.cs
new file mode 100644
index 000000000..2c3a6282f
--- /dev/null
+++ b/Jellyfin.Api/Models/NotificationDtos/AdminNotificationDto.cs
@@ -0,0 +1,30 @@
+using MediaBrowser.Model.Notifications;
+
+namespace Jellyfin.Api.Models.NotificationDtos
+{
+ /// <summary>
+ /// The admin notification dto.
+ /// </summary>
+ public class AdminNotificationDto
+ {
+ /// <summary>
+ /// Gets or sets the notification name.
+ /// </summary>
+ public string? Name { get; set; }
+
+ /// <summary>
+ /// Gets or sets the notification description.
+ /// </summary>
+ public string? Description { get; set; }
+
+ /// <summary>
+ /// Gets or sets the notification level.
+ /// </summary>
+ public NotificationLevel? NotificationLevel { get; set; }
+
+ /// <summary>
+ /// Gets or sets the notification url.
+ /// </summary>
+ public string? Url { get; set; }
+ }
+}