Package app.kntrl.client.openapi.model
Enum ClientErrCode
- java.lang.Object
-
- java.lang.Enum<ClientErrCode>
-
- app.kntrl.client.openapi.model.ClientErrCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ClientErrCode>
public enum ClientErrCode extends java.lang.Enum<ClientErrCode>
Gets or Sets ClientErrCode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientErrCode.Adapter
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClientErrCodefromValue(java.lang.String value)java.lang.StringgetValue()java.lang.StringtoString()static ClientErrCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ClientErrCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCORRECT_TOTP_CODE
public static final ClientErrCode INCORRECT_TOTP_CODE
-
OAUTH_APP_ERR
public static final ClientErrCode OAUTH_APP_ERR
-
PLUGIN_CLIENT_ERR
public static final ClientErrCode PLUGIN_CLIENT_ERR
-
PASSWORD_IS_INCORRECT
public static final ClientErrCode PASSWORD_IS_INCORRECT
-
PASSWORD_IS_INVALID
public static final ClientErrCode PASSWORD_IS_INVALID
-
EMAIL_IS_INCORRECT
public static final ClientErrCode EMAIL_IS_INCORRECT
-
IP_NEW
public static final ClientErrCode IP_NEW
-
QUESTIONS_ANSWERS_INCORRECT
public static final ClientErrCode QUESTIONS_ANSWERS_INCORRECT
-
QUESTIONS_ANSWERS_INVALID
public static final ClientErrCode QUESTIONS_ANSWERS_INVALID
-
SESSION_EXPIRED
public static final ClientErrCode SESSION_EXPIRED
-
ACCESS_DENIED
public static final ClientErrCode ACCESS_DENIED
-
USER_NOT_FOUND
public static final ClientErrCode USER_NOT_FOUND
-
USER_LOGIN_IS_INVALID
public static final ClientErrCode USER_LOGIN_IS_INVALID
-
USER_LOGIN_ALREADY_TAKEN
public static final ClientErrCode USER_LOGIN_ALREADY_TAKEN
-
TOKEN_EXPIRED
public static final ClientErrCode TOKEN_EXPIRED
-
TOO_MANY_REQS
public static final ClientErrCode TOO_MANY_REQS
-
AUTH_IS_NOT_ENABLED
public static final ClientErrCode AUTH_IS_NOT_ENABLED
-
AUTH_IS_NOT_CONFIRMED
public static final ClientErrCode AUTH_IS_NOT_CONFIRMED
-
AUTH_REQUIRES_ANOTHER
public static final ClientErrCode AUTH_REQUIRES_ANOTHER
-
CODE_IS_EXPIRED
public static final ClientErrCode CODE_IS_EXPIRED
-
CODE_TOO_MANY_ATTEMPTS
public static final ClientErrCode CODE_TOO_MANY_ATTEMPTS
-
CODE_IS_INCORRECT
public static final ClientErrCode CODE_IS_INCORRECT
-
UNAUTHENTICATED
public static final ClientErrCode UNAUTHENTICATED
-
-
Method Detail
-
values
public static ClientErrCode[] 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 (ClientErrCode c : ClientErrCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientErrCode 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<ClientErrCode>
-
fromValue
public static ClientErrCode fromValue(java.lang.String value)
-
-