public static enum GetAllInboxItemsRequest.Mode extends java.lang.Enum<GetAllInboxItemsRequest.Mode>
Enum Constant and Description |
---|
RETURN_BOTH
Return both task and notification inbox items.
|
RETURN_NOTIFICATIONS
Return only notification inbox items.
|
RETURN_TASKS
Return only task inbox items.
|
Modifier and Type | Method and Description |
---|---|
int |
toInt() |
static GetAllInboxItemsRequest.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GetAllInboxItemsRequest.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetAllInboxItemsRequest.Mode RETURN_TASKS
public static final GetAllInboxItemsRequest.Mode RETURN_NOTIFICATIONS
public static final GetAllInboxItemsRequest.Mode RETURN_BOTH
public static GetAllInboxItemsRequest.Mode[] values()
for (GetAllInboxItemsRequest.Mode c : GetAllInboxItemsRequest.Mode.values()) System.out.println(c);
public static GetAllInboxItemsRequest.Mode 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 int toInt()