Constructor and Description |
---|
WebhookUpdater(String pathConversationSid,
String pathSid)
Construct a new WebhookUpdater.
|
Modifier and Type | Method and Description |
---|---|
WebhookUpdater |
setConfigurationFilters(List<String> configurationFilters)
The list of events, firing webhook event for this Conversation..
|
WebhookUpdater |
setConfigurationFilters(String configurationFilters)
The list of events, firing webhook event for this Conversation..
|
WebhookUpdater |
setConfigurationFlowSid(String configurationFlowSid)
The studio flow SID, where the webhook should be sent to..
|
WebhookUpdater |
setConfigurationMethod(Webhook.Method configurationMethod)
The HTTP method to be used when sending a webhook request..
|
WebhookUpdater |
setConfigurationTriggers(List<String> configurationTriggers)
The list of keywords, firing webhook event for this Conversation..
|
WebhookUpdater |
setConfigurationTriggers(String configurationTriggers)
The list of keywords, firing webhook event for this Conversation..
|
WebhookUpdater |
setConfigurationUrl(String configurationUrl)
The absolute url the webhook request should be sent to..
|
Webhook |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public WebhookUpdater setConfigurationUrl(String configurationUrl)
configurationUrl
- The absolute url the webhook request should be sent
to.public WebhookUpdater setConfigurationMethod(Webhook.Method configurationMethod)
configurationMethod
- The HTTP method to be used when sending a webhook
request.public WebhookUpdater setConfigurationFilters(List<String> configurationFilters)
configurationFilters
- The list of events, firing webhook event for
this Conversation.public WebhookUpdater setConfigurationFilters(String configurationFilters)
configurationFilters
- The list of events, firing webhook event for
this Conversation.public WebhookUpdater setConfigurationTriggers(List<String> configurationTriggers)
configurationTriggers
- The list of keywords, firing webhook event for
this Conversation.public WebhookUpdater setConfigurationTriggers(String configurationTriggers)
configurationTriggers
- The list of keywords, firing webhook event for
this Conversation.public WebhookUpdater setConfigurationFlowSid(String configurationFlowSid)
configurationFlowSid
- The studio flow SID, where the webhook should be
sent to.public Webhook update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.