public static enum GHOrganization.Role extends Enum<GHOrganization.Role>
| Enum Constant and Description |
|---|
ADMIN |
MEMBER
The user is an owner of the organization.
|
| Modifier and Type | Method and Description |
|---|---|
static GHOrganization.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GHOrganization.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GHOrganization.Role ADMIN
public static final GHOrganization.Role MEMBER
public static GHOrganization.Role[] values()
for (GHOrganization.Role c : GHOrganization.Role.values()) System.out.println(c);
public static GHOrganization.Role valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.