Package com.twilio.rest.api.v2010
Enum Account.Type
- java.lang.Object
-
- java.lang.Enum<Account.Type>
-
- com.twilio.rest.api.v2010.Account.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Account.Type>
- Enclosing class:
- Account
public static enum Account.Type extends Enum<Account.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Account.TypeforValue(String value)StringtoString()static Account.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Account.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRIAL
public static final Account.Type TRIAL
-
FULL
public static final Account.Type FULL
-
-
Method Detail
-
values
public static Account.Type[] 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 (Account.Type c : Account.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Account.Type 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<Account.Type>
-
forValue
public static Account.Type forValue(String value)
-
-