Package com.okta.sdk.resource.model
Class ChangePasswordRequest
java.lang.Object
com.okta.sdk.resource.model.ChangePasswordRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class ChangePasswordRequest
extends Object
implements Serializable
ChangePasswordRequest
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get newPasswordGet oldPasswordWhen set to `true`, revokes all User sessions, except for the current sessionint
hashCode()
newPassword
(PasswordCredential newPassword) oldPassword
(PasswordCredential oldPassword) revokeSessions
(Boolean revokeSessions) void
setNewPassword
(PasswordCredential newPassword) void
setOldPassword
(PasswordCredential oldPassword) void
setRevokeSessions
(Boolean revokeSessions) toString()
-
Field Details
-
JSON_PROPERTY_NEW_PASSWORD
- See Also:
-
JSON_PROPERTY_OLD_PASSWORD
- See Also:
-
JSON_PROPERTY_REVOKE_SESSIONS
- See Also:
-
-
Constructor Details
-
ChangePasswordRequest
public ChangePasswordRequest()
-
-
Method Details
-
newPassword
-
getNewPassword
Get newPassword- Returns:
- newPassword
-
setNewPassword
-
oldPassword
-
getOldPassword
Get oldPassword- Returns:
- oldPassword
-
setOldPassword
-
revokeSessions
-
getRevokeSessions
When set to `true`, revokes all User sessions, except for the current session- Returns:
- revokeSessions
-
setRevokeSessions
-
equals
-
hashCode
public int hashCode() -
toString
-