Package com.twilio.twiml.voice
Enum SsmlSayAs.Role
- java.lang.Object
-
- java.lang.Enum<SsmlSayAs.Role>
-
- com.twilio.twiml.voice.SsmlSayAs.Role
-
- All Implemented Interfaces:
Serializable,Comparable<SsmlSayAs.Role>
- Enclosing class:
- SsmlSayAs
public static enum SsmlSayAs.Role extends Enum<SsmlSayAs.Role>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static SsmlSayAs.RolevalueOf(String name)Returns the enum constant of this type with the specified name.static SsmlSayAs.Role[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MDY
public static final SsmlSayAs.Role MDY
-
DMY
public static final SsmlSayAs.Role DMY
-
YMD
public static final SsmlSayAs.Role YMD
-
MD
public static final SsmlSayAs.Role MD
-
DM
public static final SsmlSayAs.Role DM
-
YM
public static final SsmlSayAs.Role YM
-
MY
public static final SsmlSayAs.Role MY
-
D
public static final SsmlSayAs.Role D
-
M
public static final SsmlSayAs.Role M
-
Y
public static final SsmlSayAs.Role Y
-
YYYYMMDD
public static final SsmlSayAs.Role YYYYMMDD
-
-
Method Detail
-
values
public static SsmlSayAs.Role[] 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 (SsmlSayAs.Role c : SsmlSayAs.Role.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SsmlSayAs.Role valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<SsmlSayAs.Role>
-
-