summaryrefslogtreecommitdiffstats
path: root/server/src/Endpoints/Internal/Account/UpdateAccountPayload.cs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/Endpoints/Internal/Account/UpdateAccountPayload.cs')
-rw-r--r--server/src/Endpoints/Internal/Account/UpdateAccountPayload.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/server/src/Endpoints/Internal/Account/UpdateAccountPayload.cs b/server/src/Endpoints/Internal/Account/UpdateAccountPayload.cs
new file mode 100644
index 0000000..88a3237
--- /dev/null
+++ b/server/src/Endpoints/Internal/Account/UpdateAccountPayload.cs
@@ -0,0 +1,17 @@
+namespace IOL.GreatOffice.Api.Endpoints.Internal.Account;
+
+/// <summary>
+/// Payload for updating an account.
+/// </summary>
+public class UpdatePayload
+{
+ /// <summary>
+ /// Username to set on the logged on user's account.
+ /// </summary>
+ public string Username { get; set; }
+
+ /// <summary>
+ /// Password to set on the logged on user's account.
+ /// </summary>
+ public string Password { get; set; }
+}