public enum GetConversationsFilter extends java.lang.Enum<GetConversationsFilter> implements EnumParam
| Enum Constant and Description |
|---|
ALL |
ARCHIVE |
IMPORTANT |
SORTED_CHATS |
UNANSWERED |
UNREAD |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
java.lang.String |
toString() |
static GetConversationsFilter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GetConversationsFilter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="all") public static final GetConversationsFilter ALL
@SerializedName(value="archive") public static final GetConversationsFilter ARCHIVE
@SerializedName(value="important") public static final GetConversationsFilter IMPORTANT
@SerializedName(value="sorted_chats") public static final GetConversationsFilter SORTED_CHATS
@SerializedName(value="unanswered") public static final GetConversationsFilter UNANSWERED
@SerializedName(value="unread") public static final GetConversationsFilter UNREAD
public static GetConversationsFilter[] values()
for (GetConversationsFilter c : GetConversationsFilter.values()) System.out.println(c);
public static GetConversationsFilter valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<GetConversationsFilter>