Enum Constant and Description |
---|
FAILED
Failed otp status.
|
LIMIT_EXCEEDED
Limit exceeded otp status.
|
SUCCESS
Success otp status.
|
Modifier and Type | Method and Description |
---|---|
static OTPStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OTPStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="SUCCESS") public static final OTPStatus SUCCESS
@SerializedName(value="LIMIT_EXCEEDED") public static final OTPStatus LIMIT_EXCEEDED
@SerializedName(value="FAILED") public static final OTPStatus FAILED
public static OTPStatus[] values()
for (OTPStatus c : OTPStatus.values()) System.out.println(c);
public static OTPStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null