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