|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SharedNotebookInstanceRestrictions> com.evernote.edam.type.SharedNotebookInstanceRestrictions
public enum SharedNotebookInstanceRestrictions
An enumeration describing restrictions on the domain of shared notebook instances that are valid for a given operation, as used, for example, in NotebookRestrictions. ONLY_JOINED_OR_PREVIEW: The domain consists of shared notebooks that "belong" to the recipient or still available for preview by any recipient. Shared notebooks that the recipient has joined (the username has already been assigned to our user) are in the domain. Additionally, shared notebooks that allow preview and have not yet been joined are in the domain. NO_SHARED_NOTEBOOKS: No shared notebooks are applicable to the operation.
Enum Constant Summary | |
---|---|
NO_SHARED_NOTEBOOKS
|
|
ONLY_JOINED_OR_PREVIEW
|
Method Summary | |
---|---|
static SharedNotebookInstanceRestrictions |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL. |
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL. |
static SharedNotebookInstanceRestrictions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SharedNotebookInstanceRestrictions[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SharedNotebookInstanceRestrictions ONLY_JOINED_OR_PREVIEW
public static final SharedNotebookInstanceRestrictions NO_SHARED_NOTEBOOKS
Method Detail |
---|
public static SharedNotebookInstanceRestrictions[] values()
for (SharedNotebookInstanceRestrictions c : SharedNotebookInstanceRestrictions.values()) System.out.println(c);
public static SharedNotebookInstanceRestrictions 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 name
java.lang.NullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface com.evernote.thrift.TEnum
public static SharedNotebookInstanceRestrictions findByValue(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |