Enum Class WebhookDeliveryStatus

java.lang.Object
java.lang.Enum<WebhookDeliveryStatus>
com.alibaba.dashscope.applications.agentstudio.model.WebhookDeliveryStatus
All Implemented Interfaces:
Serializable, Comparable<WebhookDeliveryStatus>, Constable

public enum WebhookDeliveryStatus extends Enum<WebhookDeliveryStatus>
Webhook delivery status.
  • Enum Constant Details

    • PENDING

      public static final WebhookDeliveryStatus PENDING
      The delivery is waiting to start.
    • DELIVERING

      public static final WebhookDeliveryStatus DELIVERING
      The delivery is currently being sent.
    • WAITING_RETRY

      public static final WebhookDeliveryStatus WAITING_RETRY
      The delivery is waiting for its next retry.
    • SUCCEEDED

      public static final WebhookDeliveryStatus SUCCEEDED
      The delivery completed successfully.
    • FAILED

      public static final WebhookDeliveryStatus FAILED
      The delivery exhausted all attempts.
    • CANCELED

      public static final WebhookDeliveryStatus CANCELED
      The delivery was canceled because its endpoint was disabled or deleted.
  • Method Details

    • values

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