public enum AuthPinterestScope extends Enum<AuthPinterestScope> implements AuthScope
Enum Constant and Description |
---|
READ_PUBLIC
scope 含义,以description 为准 |
READ_RELATIONSHIPS |
WRITE_PUBLIC |
WRITE_RELATIONSHIPS |
Modifier and Type | Method and Description |
---|---|
static AuthPinterestScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthPinterestScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthPinterestScope READ_PUBLIC
scope
含义,以description
为准public static final AuthPinterestScope WRITE_PUBLIC
public static final AuthPinterestScope READ_RELATIONSHIPS
public static final AuthPinterestScope WRITE_RELATIONSHIPS
public static AuthPinterestScope[] values()
for (AuthPinterestScope c : AuthPinterestScope.values()) System.out.println(c);
public static AuthPinterestScope 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.