Package com.github.twitch4j.helix.domain
Enum Class UnbanRequestStatus
- All Implemented Interfaces:
Serializable
,Comparable<UnbanRequestStatus>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe unban request was approved and the user acknowledged the resolution text.A moderator approved the unban request.The user withdrew their request for an unban.A moderator denied the unban request.An unban has been requested, but not yet resolved by a moderator. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static UnbanRequestStatus
Returns the enum constant of this class with the specified name.static UnbanRequestStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING
An unban has been requested, but not yet resolved by a moderator. -
APPROVED
A moderator approved the unban request. -
DENIED
A moderator denied the unban request. -
ACKNOWLEDGED
The unban request was approved and the user acknowledged the resolution text. -
CANCELED
The user withdrew their request for an unban.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<UnbanRequestStatus>
-