Class WebhookUpdate
java.lang.Object
com.google.genai.gaos.models.webhooks.WebhookUpdate
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionWebhookUpdate(String name, WebhookUpdateState state, List<WebhookUpdateSubscribedEvent> subscribedEvents, String uri) -
Method Summary
Modifier and TypeMethodDescriptionstatic WebhookUpdate.Builderbuilder()booleaninthashCode()name()Optional.state()Optional.Optional.toString()uri()Optional.Optional.withState(WebhookUpdateState state) Optional.withSubscribedEvents(List<WebhookUpdateSubscribedEvent> subscribedEvents) Optional.Optional.
-
Constructor Details
-
WebhookUpdate
public WebhookUpdate(@Nullable String name, @Nullable WebhookUpdateState state, @Nullable List<WebhookUpdateSubscribedEvent> subscribedEvents, @Nullable String uri) -
WebhookUpdate
public WebhookUpdate()
-
-
Method Details
-
name
Optional. The user-provided name of the webhook. -
state
Optional. The state of the webhook. -
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
Optional. The URI to which webhook events will be sent. -
builder
-
withName
Optional. The user-provided name of the webhook. -
withState
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
Optional. The URI to which webhook events will be sent. -
equals
-
hashCode
public int hashCode() -
toString
-