public enum ConversationHsmLanguagePolicy extends Enum<ConversationHsmLanguagePolicy>
| Enum Constant and Description |
|---|
DETERMINISTIC
Messages are delivered in exactly the language/locale requested.
|
FALLBACK
Messages are delivered in the user's device language.
|
| Modifier and Type | Method and Description |
|---|---|
static ConversationHsmLanguagePolicy |
forValue(String value) |
String |
getPolicy() |
String |
toJson() |
String |
toString() |
static ConversationHsmLanguagePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConversationHsmLanguagePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConversationHsmLanguagePolicy DETERMINISTIC
public static final ConversationHsmLanguagePolicy FALLBACK
public static ConversationHsmLanguagePolicy[] values()
for (ConversationHsmLanguagePolicy c : ConversationHsmLanguagePolicy.values()) System.out.println(c);
public static ConversationHsmLanguagePolicy 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 static ConversationHsmLanguagePolicy forValue(String value)
public String toJson()
public String getPolicy()
public String toString()
toString in class Enum<ConversationHsmLanguagePolicy>Copyright © 2024. All rights reserved.