Package io.getstream.core.utils
Enum Auth.TokenResource
- java.lang.Object
-
- java.lang.Enum<Auth.TokenResource>
-
- io.getstream.core.utils.Auth.TokenResource
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Auth.TokenResource>
- Enclosing class:
- Auth
public static enum Auth.TokenResource extends java.lang.Enum<Auth.TokenResource>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVITIES
ANALYTICS
ANALYTICS_REDIRECT
ANY
COLLECTIONS
FEED
FEED_TARGETS
FILES
FOLLOWER
OPEN_GRAPH
PERSONALIZATION
REACTIONS
USERS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static Auth.TokenResource
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Auth.TokenResource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final Auth.TokenResource ANY
-
ACTIVITIES
public static final Auth.TokenResource ACTIVITIES
-
ANALYTICS
public static final Auth.TokenResource ANALYTICS
-
ANALYTICS_REDIRECT
public static final Auth.TokenResource ANALYTICS_REDIRECT
-
COLLECTIONS
public static final Auth.TokenResource COLLECTIONS
-
FILES
public static final Auth.TokenResource FILES
-
FEED
public static final Auth.TokenResource FEED
-
FEED_TARGETS
public static final Auth.TokenResource FEED_TARGETS
-
FOLLOWER
public static final Auth.TokenResource FOLLOWER
-
OPEN_GRAPH
public static final Auth.TokenResource OPEN_GRAPH
-
PERSONALIZATION
public static final Auth.TokenResource PERSONALIZATION
-
REACTIONS
public static final Auth.TokenResource REACTIONS
-
USERS
public static final Auth.TokenResource USERS
-
-
Method Detail
-
values
public static Auth.TokenResource[] 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 (Auth.TokenResource c : Auth.TokenResource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Auth.TokenResource 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Auth.TokenResource>
-
-