Package app.kntrl.client.openapi.model
Enum ErrCode
- java.lang.Object
-
- java.lang.Enum<ErrCode>
-
- app.kntrl.client.openapi.model.ErrCode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classErrCode.Adapter
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrCodefromValue(java.lang.String value)java.lang.StringgetValue()java.lang.StringtoString()static ErrCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ErrCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLUGIN_ERR
public static final ErrCode PLUGIN_ERR
-
INCORRECT_TOTP_CODE
public static final ErrCode INCORRECT_TOTP_CODE
-
OAUTH_APP_ERR
public static final ErrCode OAUTH_APP_ERR
-
PLUGIN_CLIENT_ERR
public static final ErrCode PLUGIN_CLIENT_ERR
-
PASSWORD_IS_INCORRECT
public static final ErrCode PASSWORD_IS_INCORRECT
-
PASSWORD_IS_INVALID
public static final ErrCode PASSWORD_IS_INVALID
-
EMAIL_IS_INCORRECT
public static final ErrCode EMAIL_IS_INCORRECT
-
IP_NEW
public static final ErrCode IP_NEW
-
QUESTIONS_ANSWERS_INCORRECT
public static final ErrCode QUESTIONS_ANSWERS_INCORRECT
-
QUESTIONS_ANSWERS_INVALID
public static final ErrCode QUESTIONS_ANSWERS_INVALID
-
SESSION_EXPIRED
public static final ErrCode SESSION_EXPIRED
-
ACCESS_DENIED
public static final ErrCode ACCESS_DENIED
-
USER_NOT_FOUND
public static final ErrCode USER_NOT_FOUND
-
USER_LOGIN_IS_INVALID
public static final ErrCode USER_LOGIN_IS_INVALID
-
USER_LOGIN_ALREADY_TAKEN
public static final ErrCode USER_LOGIN_ALREADY_TAKEN
-
TOKEN_EXPIRED
public static final ErrCode TOKEN_EXPIRED
-
TOO_MANY_REQS
public static final ErrCode TOO_MANY_REQS
-
AUTH_IS_NOT_ENABLED
public static final ErrCode AUTH_IS_NOT_ENABLED
-
AUTH_IS_NOT_CONFIRMED
public static final ErrCode AUTH_IS_NOT_CONFIRMED
-
NO_AUTH_AVAILABLE_FOR_FACTOR
public static final ErrCode NO_AUTH_AVAILABLE_FOR_FACTOR
-
AUTH_REQUIRES_ANOTHER
public static final ErrCode AUTH_REQUIRES_ANOTHER
-
CODE_IS_EXPIRED
public static final ErrCode CODE_IS_EXPIRED
-
CODE_TOO_MANY_ATTEMPTS
public static final ErrCode CODE_TOO_MANY_ATTEMPTS
-
CODE_IS_INCORRECT
public static final ErrCode CODE_IS_INCORRECT
-
UNAUTHENTICATED
public static final ErrCode UNAUTHENTICATED
-
SERVER_ERR
public static final ErrCode SERVER_ERR
-
INTEGRATION_ERR
public static final ErrCode INTEGRATION_ERR
-
ANY_ERR
public static final ErrCode ANY_ERR
-
-
Method Detail
-
values
public static ErrCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ErrCode c : ErrCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<ErrCode>
-
fromValue
public static ErrCode fromValue(java.lang.String value)
-
-