public enum ReactionContent extends Enum<ReactionContent>
GHReaction| Enum Constant and Description |
|---|
CONFUSED |
EYES |
HEART |
HOORAY |
LAUGH |
MINUS_ONE |
PLUS_ONE |
ROCKET |
| Modifier and Type | Method and Description |
|---|---|
static ReactionContent |
forContent(String content)
For content reaction content.
|
String |
getContent()
Gets content.
|
static ReactionContent |
valueOf(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 final ReactionContent ROCKET
public static final ReactionContent EYES
public static ReactionContent[] values()
for (ReactionContent c : ReactionContent.values()) System.out.println(c);
public static ReactionContent 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 nullpublic String getContent()
public static ReactionContent forContent(String content)
content - the contentCopyright © 2020. All rights reserved.