public enum ConversationType extends Enum<ConversationType>
| Enum Constant and Description |
|---|
IM |
MPIM |
PRIVATE_CHANNEL |
PUBLIC_CHANNEL |
| Modifier and Type | Method and Description |
|---|---|
String |
value() |
static ConversationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConversationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="public_channel") public static final ConversationType PUBLIC_CHANNEL
@SerializedName(value="private_channel") public static final ConversationType PRIVATE_CHANNEL
@SerializedName(value="mpim") public static final ConversationType MPIM
@SerializedName(value="im") public static final ConversationType IM
public static ConversationType[] values()
for (ConversationType c : ConversationType.values()) System.out.println(c);
public static ConversationType 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 value()
Copyright © 2019. All Rights Reserved.