public static enum GetInboxItemRequest.Mode extends java.lang.Enum<GetInboxItemRequest.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 GetInboxItemRequest.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GetInboxItemRequest.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetInboxItemRequest.Mode RETURN_TASKS
public static final GetInboxItemRequest.Mode RETURN_NOTIFICATIONS
public static final GetInboxItemRequest.Mode RETURN_BOTH
public static GetInboxItemRequest.Mode[] values()
for (GetInboxItemRequest.Mode c : GetInboxItemRequest.Mode.values()) System.out.println(c);
public static GetInboxItemRequest.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()