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