Constructor and Description |
---|
BundleUpdater(String pathSid)
Construct a new BundleUpdater.
|
Modifier and Type | Method and Description |
---|---|
BundleUpdater |
setEmail(String email)
The email address that will receive updates when the Bundle resource changes
status..
|
BundleUpdater |
setFriendlyName(String friendlyName)
The string that you assigned to describe the resource..
|
BundleUpdater |
setStatus(Bundle.Status status)
The verification status of the Bundle resource..
|
BundleUpdater |
setStatusCallback(String statusCallback)
The URL we call to inform your application of status changes..
|
BundleUpdater |
setStatusCallback(URI statusCallback)
The URL we call to inform your application of status changes..
|
Bundle |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public BundleUpdater(String pathSid)
pathSid
- The unique string that identifies the resource.public BundleUpdater setStatus(Bundle.Status status)
status
- The verification status of the Bundle resourcepublic BundleUpdater setStatusCallback(URI statusCallback)
statusCallback
- The URL we call to inform your application of status
changes.public BundleUpdater setStatusCallback(String statusCallback)
statusCallback
- The URL we call to inform your application of status
changes.public BundleUpdater setFriendlyName(String friendlyName)
friendlyName
- The string that you assigned to describe the resourcepublic BundleUpdater setEmail(String email)
email
- The email addresspublic Bundle update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.