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