Package com.twilio.rest.verify.v2
Enum VerificationAttempt.Channels
- java.lang.Object
-
- java.lang.Enum<VerificationAttempt.Channels>
-
- com.twilio.rest.verify.v2.VerificationAttempt.Channels
-
- All Implemented Interfaces:
Serializable,Comparable<VerificationAttempt.Channels>
- Enclosing class:
- VerificationAttempt
public static enum VerificationAttempt.Channels extends Enum<VerificationAttempt.Channels>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerificationAttempt.ChannelsforValue(String value)StringtoString()static VerificationAttempt.ChannelsvalueOf(String name)Returns the enum constant of this type with the specified name.static VerificationAttempt.Channels[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMS
public static final VerificationAttempt.Channels SMS
-
CALL
public static final VerificationAttempt.Channels CALL
-
EMAIL
public static final VerificationAttempt.Channels EMAIL
-
WHATSAPP
public static final VerificationAttempt.Channels WHATSAPP
-
-
Method Detail
-
values
public static VerificationAttempt.Channels[] 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 (VerificationAttempt.Channels c : VerificationAttempt.Channels.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerificationAttempt.Channels valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<VerificationAttempt.Channels>
-
forValue
public static VerificationAttempt.Channels forValue(String value)
-
-