Package com.github.twitch4j.helix.domain
Enum Class UpdateEntitlementStatus
- All Implemented Interfaces:
Serializable
,Comparable<UpdateEntitlementStatus>
,Constable
Status code applied to a set of entitlements for the update operation that can be used to indicate partial success.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionInvalid format for entitlement ID.Entitlement ID does not exist.Entitlement was successfully updated.Entitlement is not owned by the organization or the user when called with a user OAuth token.Indicates the entitlement update operation failed. -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateEntitlementStatus
Returns the enum constant of this class with the specified name.static UpdateEntitlementStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Entitlement was successfully updated. -
INVALID_ID
Invalid format for entitlement ID. -
NOT_FOUND
Entitlement ID does not exist. -
UNAUTHORIZED
Entitlement is not owned by the organization or the user when called with a user OAuth token. -
UPDATE_FAILED
Indicates the entitlement update operation failed. Errors in the this state are expected to be be transient and should be retried later.
-
-
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
-