public class Webhook
extends com.ibm.cloud.sdk.core.service.model.GenericModel
**Note:** Currently, only a single webhook named `main_webhook` is supported.
Modifier and Type | Class and Description |
---|---|
static class |
Webhook.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
List<WebhookHeader> |
headers()
Gets the headers.
|
String |
name()
Gets the name.
|
Webhook.Builder |
newBuilder()
New builder.
|
String |
url()
Gets the url.
|
public Webhook.Builder newBuilder()
public String url()
The URL for the external service or application to which you want to send HTTP POST requests.
public String name()
The name of the webhook. Currently, `main_webhook` is the only supported value.
public List<WebhookHeader> headers()
An optional array of HTTP headers to pass with the HTTP request.
Copyright © 2022 IBM Cloud. All rights reserved.