|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<BusinessUserRole> com.evernote.edam.type.BusinessUserRole
public enum BusinessUserRole
Enumeration of the roles that a User can have within an Evernote Business account. ADMIN: The user is an administrator of the Evernote Business account. NORMAL: The user is a regular user within the Evernote Business account.
Enum Constant Summary | |
---|---|
ADMIN
|
|
NORMAL
|
Method Summary | |
---|---|
static BusinessUserRole |
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 BusinessUserRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BusinessUserRole[] |
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 BusinessUserRole ADMIN
public static final BusinessUserRole NORMAL
Method Detail |
---|
public static BusinessUserRole[] values()
for (BusinessUserRole c : BusinessUserRole.values()) System.out.println(c);
public static BusinessUserRole 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 BusinessUserRole findByValue(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |