public static enum AddressConfiguration.Method extends Enum<AddressConfiguration.Method>
Modifier and Type | Method and Description |
---|---|
static AddressConfiguration.Method |
forValue(String value)
Generate a Method from a string.
|
String |
toString() |
static AddressConfiguration.Method |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddressConfiguration.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddressConfiguration.Method GET
public static final AddressConfiguration.Method POST
public static AddressConfiguration.Method[] values()
for (AddressConfiguration.Method c : AddressConfiguration.Method.values()) System.out.println(c);
public static AddressConfiguration.Method 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<AddressConfiguration.Method>
public static AddressConfiguration.Method forValue(String value)
value
- string valueCopyright © 2019 Twilio, Inc. All Rights Reserved.