aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/UserDtos/QuickConnectDto.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2023-01-31 12:18:10 +0100
committerShadowghost <Ghost_of_Stone@web.de>2023-02-02 18:50:33 +0100
commitf5f890e68562e55d4bed16c454c4b4305152b296 (patch)
treeb52e3b45ceb2faa446153866600b4456fed44c8b /Jellyfin.Api/Models/UserDtos/QuickConnectDto.cs
parent58b3945805db4f88bc069ee84013bdf85d7429b1 (diff)
Migrate to file-scoped namespaces
Diffstat (limited to 'Jellyfin.Api/Models/UserDtos/QuickConnectDto.cs')
-rw-r--r--Jellyfin.Api/Models/UserDtos/QuickConnectDto.cs19
1 files changed, 9 insertions, 10 deletions
diff --git a/Jellyfin.Api/Models/UserDtos/QuickConnectDto.cs b/Jellyfin.Api/Models/UserDtos/QuickConnectDto.cs
index 9493c08c2..245002f80 100644
--- a/Jellyfin.Api/Models/UserDtos/QuickConnectDto.cs
+++ b/Jellyfin.Api/Models/UserDtos/QuickConnectDto.cs
@@ -1,16 +1,15 @@
using System.ComponentModel.DataAnnotations;
-namespace Jellyfin.Api.Models.UserDtos
+namespace Jellyfin.Api.Models.UserDtos;
+
+/// <summary>
+/// The quick connect request body.
+/// </summary>
+public class QuickConnectDto
{
/// <summary>
- /// The quick connect request body.
+ /// Gets or sets the quick connect secret.
/// </summary>
- public class QuickConnectDto
- {
- /// <summary>
- /// Gets or sets the quick connect secret.
- /// </summary>
- [Required]
- public string Secret { get; set; } = null!;
- }
+ [Required]
+ public string Secret { get; set; } = null!;
}