aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/UserDtos/CreateUserByName.cs
diff options
context:
space:
mode:
authorAnthony Lavado <anthony@lavado.ca>2020-08-08 13:22:36 -0400
committerGitHub <noreply@github.com>2020-08-08 13:22:36 -0400
commitb9fdbaeef326a06ba824cbb78a91f58afc535aab (patch)
tree915b3f9e787cde081af88465bf9c3f20228be3f3 /Jellyfin.Api/Models/UserDtos/CreateUserByName.cs
parent7e49358ba9c1fcf12f9e7b30601a9df568a65242 (diff)
parenta15be774ac606ec71f3ab0849a56ae08b8cc2f4d (diff)
Merge pull request #3812 from jellyfin/api-migration
Merge API Migration into master
Diffstat (limited to 'Jellyfin.Api/Models/UserDtos/CreateUserByName.cs')
-rw-r--r--Jellyfin.Api/Models/UserDtos/CreateUserByName.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Jellyfin.Api/Models/UserDtos/CreateUserByName.cs b/Jellyfin.Api/Models/UserDtos/CreateUserByName.cs
new file mode 100644
index 000000000..1c88d3628
--- /dev/null
+++ b/Jellyfin.Api/Models/UserDtos/CreateUserByName.cs
@@ -0,0 +1,18 @@
+namespace Jellyfin.Api.Models.UserDtos
+{
+ /// <summary>
+ /// The create user by name request body.
+ /// </summary>
+ public class CreateUserByName
+ {
+ /// <summary>
+ /// Gets or sets the username.
+ /// </summary>
+ public string? Name { get; set; }
+
+ /// <summary>
+ /// Gets or sets the password.
+ /// </summary>
+ public string? Password { get; set; }
+ }
+}