Package com.spotify.github.v3.comment
Enum CommentReactionContent
- java.lang.Object
-
- java.lang.Enum<CommentReactionContent>
-
- com.spotify.github.v3.comment.CommentReactionContent
-
- All Implemented Interfaces:
Serializable
,Comparable<CommentReactionContent>
public enum CommentReactionContent extends Enum<CommentReactionContent>
Comment reaction content.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static CommentReactionContent
valueOf(String name)
Returns the enum constant of this type with the specified name.static CommentReactionContent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THUMBS_UP
public static final CommentReactionContent THUMBS_UP
-
THUMBS_DOWN
public static final CommentReactionContent THUMBS_DOWN
-
LAUGH
public static final CommentReactionContent LAUGH
-
HOORAY
public static final CommentReactionContent HOORAY
-
CONFUSED
public static final CommentReactionContent CONFUSED
-
HEART
public static final CommentReactionContent HEART
-
ROCKET
public static final CommentReactionContent ROCKET
-
EYES
public static final CommentReactionContent EYES
-
-
Method Detail
-
values
public static CommentReactionContent[] 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 (CommentReactionContent c : CommentReactionContent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommentReactionContent valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<CommentReactionContent>
-
-