Class RecoveryError
java.lang.Object
io.getlime.core.rest.model.base.entity.Error
io.getlime.security.powerauth.rest.api.model.exception.RecoveryError
public class RecoveryError
extends io.getlime.core.rest.model.base.entity.Error
Recovery error.
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Nested Class Summary
Nested classes/interfaces inherited from class io.getlime.core.rest.model.base.entity.Error
io.getlime.core.rest.model.base.entity.Error.Code, io.getlime.core.rest.model.base.entity.Error.Message -
Constructor Summary
Constructors Constructor Description RecoveryError()Default constructor.RecoveryError(java.lang.String code, java.lang.String message)Constructor with error code and message.RecoveryError(java.lang.String code, java.lang.String message, java.lang.Integer currentRecoveryPukIndex)Constructor with error code, message and current recovery PUK index. -
Method Summary
Modifier and Type Method Description java.lang.IntegergetCurrentRecoveryPukIndex()Get current recovery PUK index.voidsetCurrentRecoveryPukIndex(java.lang.Integer currentRecoveryPukIndex)Set current recovery PUK index.Methods inherited from class io.getlime.core.rest.model.base.entity.Error
getCode, getMessage, setCode, setMessageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RecoveryError
public RecoveryError()Default constructor. -
RecoveryError
public RecoveryError(java.lang.String code, java.lang.String message)Constructor with error code and message.- Parameters:
code- Error code.message- Error message.
-
RecoveryError
public RecoveryError(java.lang.String code, java.lang.String message, java.lang.Integer currentRecoveryPukIndex)Constructor with error code, message and current recovery PUK index.- Parameters:
code- Error code.message- Error message.currentRecoveryPukIndex- Current recovery PUK index.
-
-
Method Details
-
getCurrentRecoveryPukIndex
public java.lang.Integer getCurrentRecoveryPukIndex()Get current recovery PUK index.- Returns:
- Current recovery PUK index.
-
setCurrentRecoveryPukIndex
public void setCurrentRecoveryPukIndex(java.lang.Integer currentRecoveryPukIndex)Set current recovery PUK index.- Parameters:
currentRecoveryPukIndex- Current recovery PUK index.
-