public enum OAuth2ClientType extends java.lang.Enum<OAuth2ClientType>
Enum Constant and Description |
---|
APP |
INTERNAL_APP |
PREINSTALLED_APP |
PRIVATE_APP |
Modifier and Type | Field and Description |
---|---|
private int |
rateLimit |
Modifier and Type | Method and Description |
---|---|
int |
getRateLimit() |
static OAuth2ClientType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2ClientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2ClientType APP
public static final OAuth2ClientType PRIVATE_APP
public static final OAuth2ClientType INTERNAL_APP
public static final OAuth2ClientType PREINSTALLED_APP
public static OAuth2ClientType[] values()
for (OAuth2ClientType c : OAuth2ClientType.values()) System.out.println(c);
public static OAuth2ClientType 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 namejava.lang.NullPointerException
- if the argument is nullpublic int getRateLimit()