Package com.nexmo.client.numbers
Enum UpdateNumberRequest.CallbackType
- java.lang.Object
-
- java.lang.Enum<UpdateNumberRequest.CallbackType>
-
- com.nexmo.client.numbers.UpdateNumberRequest.CallbackType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UpdateNumberRequest.CallbackType>
- Enclosing class:
- UpdateNumberRequest
public static enum UpdateNumberRequest.CallbackType extends java.lang.Enum<UpdateNumberRequest.CallbackType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
paramValue()
static UpdateNumberRequest.CallbackType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UpdateNumberRequest.CallbackType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIP
public static final UpdateNumberRequest.CallbackType SIP
-
TEL
public static final UpdateNumberRequest.CallbackType TEL
-
VXML
public static final UpdateNumberRequest.CallbackType VXML
-
APP
public static final UpdateNumberRequest.CallbackType APP
-
-
Method Detail
-
values
public static UpdateNumberRequest.CallbackType[] 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 (UpdateNumberRequest.CallbackType c : UpdateNumberRequest.CallbackType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateNumberRequest.CallbackType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
paramValue
public java.lang.String paramValue()
-
-