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