Class WebhookUpdate

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

public class WebhookUpdate extends Object
  • Constructor Details

  • Method Details

    • name

      public Optional<String> name()
      Optional. The user-provided name of the webhook.
    • state

      public Optional<WebhookUpdateState> state()
      Optional. The state of the webhook.
    • subscribedEvents

      public Optional<List<WebhookUpdateSubscribedEvent>> subscribedEvents()
      Optional. The events that the webhook is subscribed to. Available events: - batch.succeeded - batch.expired - batch.failed - interaction.requires_action - interaction.completed - interaction.failed - video.generated
    • uri

      public Optional<String> uri()
      Optional. The URI to which webhook events will be sent.
    • builder

      public static WebhookUpdate.Builder builder()
    • withName

      public WebhookUpdate withName(@Nullable String name)
      Optional. The user-provided name of the webhook.
    • withState

      public WebhookUpdate withState(@Nullable WebhookUpdateState state)
      Optional. The state of the webhook.
    • withSubscribedEvents

      public WebhookUpdate withSubscribedEvents(@Nullable List<WebhookUpdateSubscribedEvent> subscribedEvents)
      Optional. The events that the webhook is subscribed to. Available events: - batch.succeeded - batch.expired - batch.failed - interaction.requires_action - interaction.completed - interaction.failed - video.generated
    • withUri

      public WebhookUpdate withUri(@Nullable String uri)
      Optional. The URI to which webhook events will be sent.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object