public enum ConversationMessageDirection extends Enum<ConversationMessageDirection>
| Enum Constant and Description |
|---|
RECEIVED
Received is an in bound message received from a customer.
|
SENT
Sent is an outbound message sent through the API.
|
| Modifier and Type | Method and Description |
|---|---|
static ConversationMessageDirection |
forValue(String value) |
String |
getDirection() |
String |
toJson() |
String |
toString() |
static ConversationMessageDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConversationMessageDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConversationMessageDirection RECEIVED
public static final ConversationMessageDirection SENT
public static ConversationMessageDirection[] values()
for (ConversationMessageDirection c : ConversationMessageDirection.values()) System.out.println(c);
public static ConversationMessageDirection 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 getDirection()
public static ConversationMessageDirection forValue(String value)
public String toJson()
public String toString()
toString in class Enum<ConversationMessageDirection>Copyright © 2024. All rights reserved.