Class WebhookEndpoints
java.lang.Object
com.alibaba.dashscope.applications.agentstudio.resource.WebhookEndpoints
Managed Agent webhook endpoint APIs.
-
Constructor Summary
ConstructorsConstructorDescriptionWebhookEndpoints(String baseUrl, ConnectionOptions connectionOptions, String apiKey) -
Method Summary
Modifier and TypeMethodDescriptioncreate(WebhookEndpointCreateParam param) com.google.gson.JsonObjectCompletableFuture<com.google.gson.JsonObject>deleteAsync(String webhookId) disableAsync(String webhookId) enableAsync(String webhookId) list()listEvents(String webhookId) listEvents(String webhookId, WebhookEventListParam param) listEventsAsync(String webhookId) listEventsAsync(String webhookId, WebhookEventListParam param) resetSecret(String webhookId) resetSecretAsync(String webhookId) retrieveAsync(String webhookId) update(String webhookId, WebhookEndpointUpdateParam param) updateAsync(String webhookId, WebhookEndpointUpdateParam param)
-
Constructor Details
-
WebhookEndpoints
-
-
Method Details
-
create
-
retrieve
-
get
-
list
-
update
-
delete
-
enable
-
disable
-
test
-
resetSecret
-
listEvents
-
listEvents
-
createAsync
-
retrieveAsync
-
getAsync
-
listAsync
-
updateAsync
public CompletableFuture<WebhookEndpoint> updateAsync(String webhookId, WebhookEndpointUpdateParam param) -
deleteAsync
-
enableAsync
-
disableAsync
-
testAsync
-
resetSecretAsync
-
listEventsAsync
-
listEventsAsync
public CompletableFuture<CursorPage<WebhookEvent>> listEventsAsync(String webhookId, WebhookEventListParam param)
-