public enum ChatStatus extends Enum<ChatStatus>
| Enum Constant and Description |
|---|
CANCELLED
The session is user cancelled chat.
|
COMPLETED
The Bot has finished processing, and the session has ended.
|
CREATED
The session has been created.
|
FAILED
The session has failed.
|
IN_PROGRESS
The Bot is processing.
|
REQUIRES_ACTION
The session is interrupted and requires further processing.
|
| Modifier and Type | Method and Description |
|---|---|
static ChatStatus |
fromString(String value) |
String |
getValue() |
static ChatStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatStatus CREATED
public static final ChatStatus IN_PROGRESS
public static final ChatStatus COMPLETED
public static final ChatStatus FAILED
public static final ChatStatus REQUIRES_ACTION
public static final ChatStatus CANCELLED
public static ChatStatus[] values()
for (ChatStatus c : ChatStatus.values()) System.out.println(c);
public static ChatStatus 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 getValue()
public static ChatStatus fromString(String value)
Copyright © 2024. All rights reserved.