public static enum VerificationAttempt.AttemptStatus extends Enum<VerificationAttempt.AttemptStatus>
Enum Constant and Description |
---|
CONFIRMED |
EXPIRED |
UNCONFIRMED |
Modifier and Type | Method and Description |
---|---|
static VerificationAttempt.AttemptStatus |
forValue(String value)
Generate a AttemptStatus from a string.
|
String |
toString() |
static VerificationAttempt.AttemptStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerificationAttempt.AttemptStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerificationAttempt.AttemptStatus CONFIRMED
public static final VerificationAttempt.AttemptStatus UNCONFIRMED
public static final VerificationAttempt.AttemptStatus EXPIRED
public static VerificationAttempt.AttemptStatus[] values()
for (VerificationAttempt.AttemptStatus c : VerificationAttempt.AttemptStatus.values()) System.out.println(c);
public static VerificationAttempt.AttemptStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<VerificationAttempt.AttemptStatus>
public static VerificationAttempt.AttemptStatus forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.