aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/UserDtos/CreateUserByName.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/CreateUserByName.cs
parent58b3945805db4f88bc069ee84013bdf85d7429b1 (diff)
Migrate to file-scoped namespaces
Diffstat (limited to 'Jellyfin.Api/Models/UserDtos/CreateUserByName.cs')
-rw-r--r--Jellyfin.Api/Models/UserDtos/CreateUserByName.cs25
1 files changed, 12 insertions, 13 deletions
diff --git a/Jellyfin.Api/Models/UserDtos/CreateUserByName.cs b/Jellyfin.Api/Models/UserDtos/CreateUserByName.cs
index 1c88d3628..0503c5d57 100644
--- a/Jellyfin.Api/Models/UserDtos/CreateUserByName.cs
+++ b/Jellyfin.Api/Models/UserDtos/CreateUserByName.cs
@@ -1,18 +1,17 @@
-namespace Jellyfin.Api.Models.UserDtos
+namespace Jellyfin.Api.Models.UserDtos;
+
+/// <summary>
+/// The create user by name request body.
+/// </summary>
+public class CreateUserByName
{
/// <summary>
- /// The create user by name request body.
+ /// Gets or sets the username.
/// </summary>
- public class CreateUserByName
- {
- /// <summary>
- /// Gets or sets the username.
- /// </summary>
- public string? Name { get; set; }
+ public string? Name { get; set; }
- /// <summary>
- /// Gets or sets the password.
- /// </summary>
- public string? Password { get; set; }
- }
+ /// <summary>
+ /// Gets or sets the password.
+ /// </summary>
+ public string? Password { get; set; }
}