Package co.dapi.types
Enum UserInput.UserInputID
- java.lang.Object
-
- java.lang.Enum<UserInput.UserInputID>
-
- co.dapi.types.UserInput.UserInputID
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UserInput.UserInputID>
- Enclosing class:
- UserInput
public static enum UserInput.UserInputID extends java.lang.Enum<UserInput.UserInputID>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description captchaconfirmationotppinsecret_questiontoken
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserInput.UserInputIDvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UserInput.UserInputID[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
otp
public static final UserInput.UserInputID otp
-
secret_question
public static final UserInput.UserInputID secret_question
-
captcha
public static final UserInput.UserInputID captcha
-
pin
public static final UserInput.UserInputID pin
-
confirmation
public static final UserInput.UserInputID confirmation
-
token
public static final UserInput.UserInputID token
-
-
Method Detail
-
values
public static UserInput.UserInputID[] 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 (UserInput.UserInputID c : UserInput.UserInputID.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserInput.UserInputID 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
-
-