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