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