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