public enum ConversationContentType extends Enum<ConversationContentType>
| Enum Constant and Description |
|---|
AUDIO |
EMAIL |
FILE |
HSM |
IMAGE |
LOCATION |
TEXT |
VIDEO |
| Modifier and Type | Method and Description |
|---|---|
static ConversationContentType |
forValue(String value) |
String |
getType() |
String |
toJson() |
String |
toString() |
static ConversationContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConversationContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConversationContentType AUDIO
public static final ConversationContentType FILE
public static final ConversationContentType HSM
public static final ConversationContentType IMAGE
public static final ConversationContentType LOCATION
public static final ConversationContentType TEXT
public static final ConversationContentType VIDEO
public static final ConversationContentType EMAIL
public static ConversationContentType[] values()
for (ConversationContentType c : ConversationContentType.values()) System.out.println(c);
public static ConversationContentType 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 ConversationContentType forValue(String value)
public String toJson()
public String getType()
public String toString()
toString in class Enum<ConversationContentType>Copyright © 2024. All rights reserved.