public enum ConversationWebhookEvent extends Enum<ConversationWebhookEvent>
| Enum Constant and Description |
|---|
CONVERSATION_CREATED
New conversation has been created.
|
CONVERSATION_UPDATED
Conversation has been updated with a new status.
|
MESSAGE_CREATED
New message has been created.
|
MESSAGE_UPDATED
Message has been updated with a new status.
|
| Modifier and Type | Method and Description |
|---|---|
static ConversationWebhookEvent |
forValue(String value) |
String |
getEvent() |
String |
toJson() |
String |
toString() |
static ConversationWebhookEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConversationWebhookEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConversationWebhookEvent CONVERSATION_CREATED
public static final ConversationWebhookEvent CONVERSATION_UPDATED
public static final ConversationWebhookEvent MESSAGE_CREATED
public static final ConversationWebhookEvent MESSAGE_UPDATED
public static ConversationWebhookEvent[] values()
for (ConversationWebhookEvent c : ConversationWebhookEvent.values()) System.out.println(c);
public static ConversationWebhookEvent 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 ConversationWebhookEvent forValue(String value)
public String toJson()
public String getEvent()
public String toString()
toString in class Enum<ConversationWebhookEvent>Copyright © 2024. All rights reserved.