public static enum IncomingPhoneNumber.VoiceReceiveMode extends Enum<IncomingPhoneNumber.VoiceReceiveMode>
Modifier and Type | Method and Description |
---|---|
static IncomingPhoneNumber.VoiceReceiveMode |
forValue(String value)
Generate a VoiceReceiveMode from a string.
|
String |
toString() |
static IncomingPhoneNumber.VoiceReceiveMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IncomingPhoneNumber.VoiceReceiveMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IncomingPhoneNumber.VoiceReceiveMode VOICE
public static final IncomingPhoneNumber.VoiceReceiveMode FAX
public static IncomingPhoneNumber.VoiceReceiveMode[] values()
for (IncomingPhoneNumber.VoiceReceiveMode c : IncomingPhoneNumber.VoiceReceiveMode.values()) System.out.println(c);
public static IncomingPhoneNumber.VoiceReceiveMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<IncomingPhoneNumber.VoiceReceiveMode>
public static IncomingPhoneNumber.VoiceReceiveMode forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.