munchies
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
munchies
user-shared
/
com.munchies.user.infrastructure.adapter.inbound.request
/
UpdateUserPasswordRequest
Update
User
Password
Request
@
Serializable
@
SerialName
(
value
=
"UpdateUserPasswordRequest"
)
data
class
UpdateUserPasswordRequest
(
val
id
:
String
,
val
username
:
String
=
""
,
val
email
:
String
=
""
,
val
oldHashedPassword
:
String
,
val
newPassword
:
String
)
:
AuthenticatedRequest
<
UpdateUserPasswordRequest
>
,
JsonEncodable
Members
Constructors
Update
User
Password
Request
Link copied to clipboard
constructor
(
id
:
String
,
username
:
String
=
""
,
email
:
String
=
""
,
oldHashedPassword
:
String
,
newPassword
:
String
)
Properties
email
Link copied to clipboard
val
email
:
String
id
Link copied to clipboard
val
id
:
String
new
Password
Link copied to clipboard
val
newPassword
:
String
old
Hashed
Password
Link copied to clipboard
val
oldHashedPassword
:
String
username
Link copied to clipboard
val
username
:
String
Functions
add
Id
Link copied to clipboard
open
override
fun
addId
(
userId
:
String
)
:
UpdateUserPasswordRequest
to
Json
Link copied to clipboard
open
override
fun
toJson
(
)
:
String