Package ai.reveng.model
Class UpdateUserPasswordInputBody
java.lang.Object
ai.reveng.model.UpdateUserPasswordInputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class UpdateUserPasswordInputBody
extends Object
UpdateUserPasswordInputBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncurrentPassword(String currentPassword) booleanstatic UpdateUserPasswordInputBodyCreate an instance of UpdateUserPasswordInputBody given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Current password (required when changing your own password; ignored for SUPERADMIN updates of other users)New password (minimum 10 characters)inthashCode()newPassword(String newPassword) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCurrentPassword(String currentPassword) voidsetNewPassword(String newPassword) toJson()Convert an instance of UpdateUserPasswordInputBody to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CURRENT_PASSWORD
- See Also:
-
SERIALIZED_NAME_NEW_PASSWORD
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateUserPasswordInputBody
public UpdateUserPasswordInputBody()
-
-
Method Details
-
currentPassword
-
getCurrentPassword
Current password (required when changing your own password; ignored for SUPERADMIN updates of other users)- Returns:
- currentPassword
-
setCurrentPassword
-
newPassword
-
getNewPassword
New password (minimum 10 characters)- Returns:
- newPassword
-
setNewPassword
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the UpdateUserPasswordInputBody instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to UpdateUserPasswordInputBody
-
fromJson
Create an instance of UpdateUserPasswordInputBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateUserPasswordInputBody
- Throws:
IOException- if the JSON string is invalid with respect to UpdateUserPasswordInputBody
-
toJson
Convert an instance of UpdateUserPasswordInputBody to an JSON string- Returns:
- JSON string
-