Enum Local.VoiceReceiveMode
- java.lang.Object
-
- java.lang.Enum<Local.VoiceReceiveMode>
-
- com.twilio.rest.api.v2010.account.incomingphonenumber.Local.VoiceReceiveMode
-
- All Implemented Interfaces:
Serializable,Comparable<Local.VoiceReceiveMode>
- Enclosing class:
- Local
public static enum Local.VoiceReceiveMode extends Enum<Local.VoiceReceiveMode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Local.VoiceReceiveModeforValue(String value)StringtoString()static Local.VoiceReceiveModevalueOf(String name)Returns the enum constant of this type with the specified name.static Local.VoiceReceiveMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VOICE
public static final Local.VoiceReceiveMode VOICE
-
FAX
public static final Local.VoiceReceiveMode FAX
-
-
Method Detail
-
values
public static Local.VoiceReceiveMode[] 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 (Local.VoiceReceiveMode c : Local.VoiceReceiveMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Local.VoiceReceiveMode 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<Local.VoiceReceiveMode>
-
forValue
public static Local.VoiceReceiveMode forValue(String value)
-
-