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