Enum Class WebhookDeliveryStatus
java.lang.Object
java.lang.Enum<WebhookDeliveryStatus>
com.alibaba.dashscope.applications.agentstudio.model.WebhookDeliveryStatus
- All Implemented Interfaces:
Serializable,Comparable<WebhookDeliveryStatus>,Constable
Webhook delivery status.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe delivery was canceled because its endpoint was disabled or deleted.The delivery is currently being sent.The delivery exhausted all attempts.The delivery is waiting to start.The delivery completed successfully.The delivery is waiting for its next retry. -
Method Summary
Modifier and TypeMethodDescriptionstatic WebhookDeliveryStatusReturns the enum constant of this class with the specified name.static WebhookDeliveryStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING
The delivery is waiting to start. -
DELIVERING
The delivery is currently being sent. -
WAITING_RETRY
The delivery is waiting for its next retry. -
SUCCEEDED
The delivery completed successfully. -
FAILED
The delivery exhausted all attempts. -
CANCELED
The delivery was canceled because its endpoint was disabled or deleted.
-
-
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
-