| Constructor and Description |
|---|
ServiceUpdater(String pathSid)
Construct a new ServiceUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceUpdater |
setAreaCodeGeomatch(Boolean areaCodeGeomatch)
The area_code_geomatch.
|
ServiceUpdater |
setFallbackMethod(HttpMethod fallbackMethod)
The fallback_method.
|
ServiceUpdater |
setFallbackToLongCode(Boolean fallbackToLongCode)
The fallback_to_long_code.
|
ServiceUpdater |
setFallbackUrl(String fallbackUrl)
The fallback_url.
|
ServiceUpdater |
setFallbackUrl(URI fallbackUrl)
The fallback_url.
|
ServiceUpdater |
setFriendlyName(String friendlyName)
The friendly_name.
|
ServiceUpdater |
setInboundMethod(HttpMethod inboundMethod)
The inbound_method.
|
ServiceUpdater |
setInboundRequestUrl(String inboundRequestUrl)
The inbound_request_url.
|
ServiceUpdater |
setInboundRequestUrl(URI inboundRequestUrl)
The inbound_request_url.
|
ServiceUpdater |
setMmsConverter(Boolean mmsConverter)
The mms_converter.
|
ServiceUpdater |
setScanMessageContent(Service.ScanMessageContent scanMessageContent)
The scan_message_content.
|
ServiceUpdater |
setSmartEncoding(Boolean smartEncoding)
The smart_encoding.
|
ServiceUpdater |
setStatusCallback(String statusCallback)
The status_callback.
|
ServiceUpdater |
setStatusCallback(URI statusCallback)
The status_callback.
|
ServiceUpdater |
setStickySender(Boolean stickySender)
The sticky_sender.
|
ServiceUpdater |
setSynchronousValidation(Boolean synchronousValidation)
The synchronous_validation.
|
ServiceUpdater |
setValidityPeriod(Integer validityPeriod)
The validity_period.
|
Service |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic ServiceUpdater(String pathSid)
pathSid - The sidpublic ServiceUpdater setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic ServiceUpdater setInboundRequestUrl(URI inboundRequestUrl)
inboundRequestUrl - The inbound_request_urlpublic ServiceUpdater setInboundRequestUrl(String inboundRequestUrl)
inboundRequestUrl - The inbound_request_urlpublic ServiceUpdater setInboundMethod(HttpMethod inboundMethod)
inboundMethod - The inbound_methodpublic ServiceUpdater setFallbackUrl(URI fallbackUrl)
fallbackUrl - The fallback_urlpublic ServiceUpdater setFallbackUrl(String fallbackUrl)
fallbackUrl - The fallback_urlpublic ServiceUpdater setFallbackMethod(HttpMethod fallbackMethod)
fallbackMethod - The fallback_methodpublic ServiceUpdater setStatusCallback(URI statusCallback)
statusCallback - The status_callbackpublic ServiceUpdater setStatusCallback(String statusCallback)
statusCallback - The status_callbackpublic ServiceUpdater setStickySender(Boolean stickySender)
stickySender - The sticky_senderpublic ServiceUpdater setMmsConverter(Boolean mmsConverter)
mmsConverter - The mms_converterpublic ServiceUpdater setSmartEncoding(Boolean smartEncoding)
smartEncoding - The smart_encodingpublic ServiceUpdater setScanMessageContent(Service.ScanMessageContent scanMessageContent)
scanMessageContent - The scan_message_contentpublic ServiceUpdater setFallbackToLongCode(Boolean fallbackToLongCode)
fallbackToLongCode - The fallback_to_long_codepublic ServiceUpdater setAreaCodeGeomatch(Boolean areaCodeGeomatch)
areaCodeGeomatch - The area_code_geomatchpublic ServiceUpdater setValidityPeriod(Integer validityPeriod)
validityPeriod - The validity_periodpublic ServiceUpdater setSynchronousValidation(Boolean synchronousValidation)
synchronousValidation - The synchronous_validationpublic Service update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.