public static enum Role.RoleType extends Enum<Role.RoleType>
Enum Constant and Description |
---|
CHANNEL |
DEPLOYMENT |
Modifier and Type | Method and Description |
---|---|
static Role.RoleType |
forValue(String value)
Generate a RoleType from a string.
|
String |
toString() |
static Role.RoleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role.RoleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Role.RoleType CHANNEL
public static final Role.RoleType DEPLOYMENT
public static Role.RoleType[] values()
for (Role.RoleType c : Role.RoleType.values()) System.out.println(c);
public static Role.RoleType 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<Role.RoleType>
public static Role.RoleType forValue(String value)
value
- string valueCopyright © 2011 Twilio, Inc. All Rights Reserved.