Package com.vk.api.sdk.queries.oauth
Enum OAuthUserScope
- java.lang.Object
-
- java.lang.Enum<OAuthUserScope>
-
- com.vk.api.sdk.queries.oauth.OAuthUserScope
-
- All Implemented Interfaces:
EnumParam,java.io.Serializable,java.lang.Comparable<OAuthUserScope>
public enum OAuthUserScope extends java.lang.Enum<OAuthUserScope> implements EnumParam
Created by tsivarev on 16.08.16.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()static OAuthUserScopevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OAuthUserScope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOTIFY
public static final OAuthUserScope NOTIFY
-
FRIENDS
public static final OAuthUserScope FRIENDS
-
PHOTOS
public static final OAuthUserScope PHOTOS
-
AUDIO
public static final OAuthUserScope AUDIO
-
VIDEO
public static final OAuthUserScope VIDEO
-
DOCS
public static final OAuthUserScope DOCS
-
NOTES
public static final OAuthUserScope NOTES
-
PAGES
public static final OAuthUserScope PAGES
-
STATUS
public static final OAuthUserScope STATUS
-
WALL
public static final OAuthUserScope WALL
-
GROUPS
public static final OAuthUserScope GROUPS
-
MESSAGES
public static final OAuthUserScope MESSAGES
-
EMAIL
public static final OAuthUserScope EMAIL
-
NOTIFICATIONS
public static final OAuthUserScope NOTIFICATIONS
-
STATS
public static final OAuthUserScope STATS
-
ADS
public static final OAuthUserScope ADS
-
OFFLINE
public static final OAuthUserScope OFFLINE
-
MARKET
public static final OAuthUserScope MARKET
-
-
Method Detail
-
values
public static OAuthUserScope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OAuthUserScope c : OAuthUserScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OAuthUserScope valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-