Enum Class UpdateEntitlementStatus

java.lang.Object
java.lang.Enum<UpdateEntitlementStatus>
com.github.twitch4j.helix.domain.UpdateEntitlementStatus
All Implemented Interfaces:
Serializable, Comparable<UpdateEntitlementStatus>, Constable

public enum UpdateEntitlementStatus extends Enum<UpdateEntitlementStatus>
Status code applied to a set of entitlements for the update operation that can be used to indicate partial success.
  • Enum Constant Details

    • SUCCESS

      public static final UpdateEntitlementStatus SUCCESS
      Entitlement was successfully updated.
    • INVALID_ID

      public static final UpdateEntitlementStatus INVALID_ID
      Invalid format for entitlement ID.
    • NOT_FOUND

      public static final UpdateEntitlementStatus NOT_FOUND
      Entitlement ID does not exist.
    • UNAUTHORIZED

      public static final UpdateEntitlementStatus UNAUTHORIZED
      Entitlement is not owned by the organization or the user when called with a user OAuth token.
    • UPDATE_FAILED

      public static final UpdateEntitlementStatus 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

      public static UpdateEntitlementStatus[] 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

      public static UpdateEntitlementStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null