public static class CreateWebhookRequest.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CreateWebhookRequest.Builder |
active(boolean active)
Set to
true if the webhook is active. |
CreateWebhookRequest |
build()
Returns the configured request
|
CreateWebhookRequest.Builder |
event(String event)
Sets the event of the request.
|
CreateWebhookRequest.Builder |
groupGuid(String groupGuid)
Sets the group GUID of the request.
|
CreateWebhookRequest.Builder |
name(String name)
Sets the name of the request.
|
CreateWebhookRequest.Builder |
organizationGuid(String organizationGuid)
Sets the organization GUID of the request.
|
CreateWebhookRequest.Builder |
url(String url)
Sets the url of the request.
|
public CreateWebhookRequest.Builder name(String name)
name - The name of the requestpublic CreateWebhookRequest.Builder url(String url)
url - The url of the requestpublic CreateWebhookRequest.Builder event(String event)
event - The event of the requestpublic CreateWebhookRequest.Builder groupGuid(String groupGuid)
groupGuid - The group GUID of the requestpublic CreateWebhookRequest.Builder organizationGuid(String organizationGuid)
organizationGuid - The organization GUID of the requestpublic CreateWebhookRequest.Builder active(boolean active)
true if the webhook is active.active - true if the webhook is activepublic CreateWebhookRequest build()
Copyright © 2020. All rights reserved.