|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SponsoredGroupRole>
com.evernote.edam.type.SponsoredGroupRole
public enum SponsoredGroupRole
Enumeration of the roles that a User can have within a sponsored group. GROUP_MEMBER: The user is a member of the group with no special privileges. GROUP_ADMIN: The user is an administrator within the group. GROUP_OWNER: The user is the owner of the group.
| Enum Constant Summary | |
|---|---|
GROUP_ADMIN
|
|
GROUP_MEMBER
|
|
GROUP_OWNER
|
|
| Method Summary | |
|---|---|
static SponsoredGroupRole |
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 SponsoredGroupRole |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SponsoredGroupRole[] |
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 SponsoredGroupRole GROUP_MEMBER
public static final SponsoredGroupRole GROUP_ADMIN
public static final SponsoredGroupRole GROUP_OWNER
| Method Detail |
|---|
public static SponsoredGroupRole[] values()
for (SponsoredGroupRole c : SponsoredGroupRole.values()) System.out.println(c);
public static SponsoredGroupRole valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int getValue()
getValue in interface TEnumpublic static SponsoredGroupRole findByValue(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||