public enum ReactionContent extends java.lang.Enum<ReactionContent>
GHReaction| Enum Constant and Description |
|---|
CONFUSED |
HEART |
HOORAY |
LAUGH |
MINUS_ONE |
PLUS_ONE |
| Modifier and Type | Method and Description |
|---|---|
static ReactionContent |
forContent(java.lang.String content) |
java.lang.String |
getContent() |
static ReactionContent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReactionContent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReactionContent PLUS_ONE
public static final ReactionContent MINUS_ONE
public static final ReactionContent LAUGH
public static final ReactionContent CONFUSED
public static final ReactionContent HEART
public static final ReactionContent HOORAY
public static ReactionContent[] values()
for (ReactionContent c : ReactionContent.values()) System.out.println(c);
public static ReactionContent 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 java.lang.String getContent()
public static ReactionContent forContent(java.lang.String content)
Copyright © 2016. All Rights Reserved.