Package com.twilio.type
Enum InboundSmsPrice.Type
- java.lang.Object
-
- java.lang.Enum<InboundSmsPrice.Type>
-
- com.twilio.type.InboundSmsPrice.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<InboundSmsPrice.Type>
- Enclosing class:
- InboundSmsPrice
public static enum InboundSmsPrice.Type extends Enum<InboundSmsPrice.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InboundSmsPrice.Type
forValue(String value)
String
toString()
static InboundSmsPrice.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static InboundSmsPrice.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL
public static final InboundSmsPrice.Type LOCAL
-
MOBILE
public static final InboundSmsPrice.Type MOBILE
-
NATIONAL
public static final InboundSmsPrice.Type NATIONAL
-
SHORTCODE
public static final InboundSmsPrice.Type SHORTCODE
-
TOLLFREE
public static final InboundSmsPrice.Type TOLLFREE
-
-
Method Detail
-
values
public static InboundSmsPrice.Type[] 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 (InboundSmsPrice.Type c : InboundSmsPrice.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InboundSmsPrice.Type 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<InboundSmsPrice.Type>
-
forValue
public static InboundSmsPrice.Type forValue(String value)
-
-