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