@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class ChangePasswordRequest extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_NEW_PASSWORD |
static String |
JSON_PROPERTY_OLD_PASSWORD |
static String |
JSON_PROPERTY_REVOKE_SESSIONS |
Constructor and Description |
---|
ChangePasswordRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
PasswordCredential |
getNewPassword()
Get newPassword
|
PasswordCredential |
getOldPassword()
Get oldPassword
|
Boolean |
getRevokeSessions()
Get revokeSessions
|
int |
hashCode() |
ChangePasswordRequest |
newPassword(PasswordCredential newPassword) |
ChangePasswordRequest |
oldPassword(PasswordCredential oldPassword) |
ChangePasswordRequest |
revokeSessions(Boolean revokeSessions) |
void |
setNewPassword(PasswordCredential newPassword) |
void |
setOldPassword(PasswordCredential oldPassword) |
void |
setRevokeSessions(Boolean revokeSessions) |
String |
toString() |
public static final String JSON_PROPERTY_NEW_PASSWORD
public static final String JSON_PROPERTY_OLD_PASSWORD
public static final String JSON_PROPERTY_REVOKE_SESSIONS
public ChangePasswordRequest newPassword(PasswordCredential newPassword)
@Nullable public PasswordCredential getNewPassword()
public void setNewPassword(PasswordCredential newPassword)
public ChangePasswordRequest oldPassword(PasswordCredential oldPassword)
@Nullable public PasswordCredential getOldPassword()
public void setOldPassword(PasswordCredential oldPassword)
public ChangePasswordRequest revokeSessions(Boolean revokeSessions)
@Nullable public Boolean getRevokeSessions()
public void setRevokeSessions(Boolean revokeSessions)
Copyright © 2017–2023 Okta. All rights reserved.