Package com.twilio.rest.messaging.v1
Enum TollfreeVerification.OptInType
- java.lang.Object
-
- java.lang.Enum<TollfreeVerification.OptInType>
-
- com.twilio.rest.messaging.v1.TollfreeVerification.OptInType
-
- All Implemented Interfaces:
Serializable,Comparable<TollfreeVerification.OptInType>
- Enclosing class:
- TollfreeVerification
public static enum TollfreeVerification.OptInType extends Enum<TollfreeVerification.OptInType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MOBILE_QR_CODEPAPER_FORMVERBALVIA_TEXTWEB_FORM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TollfreeVerification.OptInTypeforValue(String value)StringtoString()static TollfreeVerification.OptInTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TollfreeVerification.OptInType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VERBAL
public static final TollfreeVerification.OptInType VERBAL
-
WEB_FORM
public static final TollfreeVerification.OptInType WEB_FORM
-
PAPER_FORM
public static final TollfreeVerification.OptInType PAPER_FORM
-
VIA_TEXT
public static final TollfreeVerification.OptInType VIA_TEXT
-
MOBILE_QR_CODE
public static final TollfreeVerification.OptInType MOBILE_QR_CODE
-
-
Method Detail
-
values
public static TollfreeVerification.OptInType[] 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 (TollfreeVerification.OptInType c : TollfreeVerification.OptInType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TollfreeVerification.OptInType 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<TollfreeVerification.OptInType>
-
forValue
public static TollfreeVerification.OptInType forValue(String value)
-
-