| Constructor and Description |
|---|
ServiceUpdater(String pathSid)
Construct a new ServiceUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceUpdater |
setCallbackUrl(String callbackUrl)
The URL Twilio will send callbacks to..
|
ServiceUpdater |
setCallbackUrl(URI callbackUrl)
The URL Twilio will send callbacks to..
|
ServiceUpdater |
setDefaultTtl(Integer defaultTtl)
The default Time to Live for a Session, in seconds..
|
ServiceUpdater |
setGeoMatchLevel(Service.GeoMatchLevel geoMatchLevel)
Whether to find proxy numbers in the same areacode..
|
ServiceUpdater |
setInterceptCallbackUrl(String interceptCallbackUrl)
A URL for Twilio call before each Interaction.
|
ServiceUpdater |
setInterceptCallbackUrl(URI interceptCallbackUrl)
A URL for Twilio call before each Interaction.
|
ServiceUpdater |
setNumberSelectionBehavior(Service.NumberSelectionBehavior numberSelectionBehavior)
What behavior to use when choosing a proxy number..
|
ServiceUpdater |
setOutOfSessionCallbackUrl(String outOfSessionCallbackUrl)
A URL for Twilio call when a new Interaction has no Session..
|
ServiceUpdater |
setOutOfSessionCallbackUrl(URI outOfSessionCallbackUrl)
A URL for Twilio call when a new Interaction has no Session..
|
ServiceUpdater |
setUniqueName(String uniqueName)
A human readable description of this resource, up to 64 characters..
|
Service |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic ServiceUpdater(String pathSid)
pathSid - A string that uniquely identifies this Service.public ServiceUpdater setUniqueName(String uniqueName)
uniqueName - A human readable description of this resource.public ServiceUpdater setDefaultTtl(Integer defaultTtl)
defaultTtl - Default TTL for a Session, in seconds.public ServiceUpdater setCallbackUrl(URI callbackUrl)
callbackUrl - URL Twilio will send callbacks topublic ServiceUpdater setCallbackUrl(String callbackUrl)
callbackUrl - URL Twilio will send callbacks topublic ServiceUpdater setGeoMatchLevel(Service.GeoMatchLevel geoMatchLevel)
geoMatchLevel - Whether to find proxy numbers in the same areacode.public ServiceUpdater setNumberSelectionBehavior(Service.NumberSelectionBehavior numberSelectionBehavior)
numberSelectionBehavior - What behavior to use when choosing a proxy
number.public ServiceUpdater setInterceptCallbackUrl(URI interceptCallbackUrl)
interceptCallbackUrl - A URL for Twilio call before each Interaction.public ServiceUpdater setInterceptCallbackUrl(String interceptCallbackUrl)
interceptCallbackUrl - A URL for Twilio call before each Interaction.public ServiceUpdater setOutOfSessionCallbackUrl(URI outOfSessionCallbackUrl)
outOfSessionCallbackUrl - A URL for Twilio call when a new Interaction
has no Session.public ServiceUpdater setOutOfSessionCallbackUrl(String outOfSessionCallbackUrl)
outOfSessionCallbackUrl - A URL for Twilio call when a new Interaction
has no Session.public Service update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.