Class WebhookCreator
- java.lang.Object
-
- com.twilio.base.Creator<Webhook>
-
- com.twilio.rest.autopilot.v1.assistant.WebhookCreator
-
-
Constructor Summary
Constructors Constructor Description WebhookCreator(String pathAssistantSid, String uniqueName, String events, URI webhookUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Webhookcreate(TwilioRestClient client)Execute a request using specified client.WebhookCreatorsetEvents(String events)WebhookCreatorsetUniqueName(String uniqueName)WebhookCreatorsetWebhookMethod(String webhookMethod)WebhookCreatorsetWebhookUrl(String webhookUrl)WebhookCreatorsetWebhookUrl(URI webhookUrl)-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setUniqueName
public WebhookCreator setUniqueName(String uniqueName)
-
setEvents
public WebhookCreator setEvents(String events)
-
setWebhookUrl
public WebhookCreator setWebhookUrl(URI webhookUrl)
-
setWebhookUrl
public WebhookCreator setWebhookUrl(String webhookUrl)
-
setWebhookMethod
public WebhookCreator setWebhookMethod(String webhookMethod)
-
-