Class WebhookState

java.lang.Object
com.google.genai.gaos.models.webhooks.WebhookState

public class WebhookState extends Object
WebhookState

Output only. The state of the webhook.

  • Field Details

    • ENABLED

      public static final WebhookState ENABLED
    • DISABLED

      public static final WebhookState DISABLED
    • DISABLED_DUE_TO_FAILED_DELIVERIES

      public static final WebhookState DISABLED_DUE_TO_FAILED_DELIVERIES
  • Method Details

    • of

      public static WebhookState of(String value)
      Returns a WebhookState with the given value. For a specific value the returned object will always be a singleton so reference equality is satisfied when the values are the same.
      Parameters:
      value - value to be wrapped as WebhookState
    • value

      public String value()
    • asEnum

    • isKnown

      public boolean isKnown()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • values

      public static WebhookState[] values()