public enum AuthGiteeScope extends Enum<AuthGiteeScope> implements AuthScope
Enum Constant and Description |
---|
EMAILS |
ENTERPRISES |
GISTS |
GROUPS |
HOOK |
ISSUES |
KEYS |
NOTES |
PROJECTS |
PULL_REQUESTS |
USER_INFO
scope 含义,以description 为准 |
Modifier and Type | Method and Description |
---|---|
static AuthGiteeScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthGiteeScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthGiteeScope USER_INFO
scope
含义,以description
为准public static final AuthGiteeScope PROJECTS
public static final AuthGiteeScope PULL_REQUESTS
public static final AuthGiteeScope ISSUES
public static final AuthGiteeScope NOTES
public static final AuthGiteeScope KEYS
public static final AuthGiteeScope HOOK
public static final AuthGiteeScope GROUPS
public static final AuthGiteeScope GISTS
public static final AuthGiteeScope ENTERPRISES
public static final AuthGiteeScope EMAILS
public static AuthGiteeScope[] values()
for (AuthGiteeScope c : AuthGiteeScope.values()) System.out.println(c);
public static AuthGiteeScope 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 © 2021. All rights reserved.