| Constructor and Description |
|---|
AccountUpdater(String sid)
Construct a new AccountUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
Account |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
AccountUpdater |
setFriendlyName(String friendlyName)
Update the human-readable description of this Account.
|
AccountUpdater |
setStatus(Account.Status status)
Alter the status of this account with a given Status.
|
public AccountUpdater(String sid)
sid - The sidpublic AccountUpdater setFriendlyName(String friendlyName)
friendlyName - FriendlyName to updatepublic AccountUpdater setStatus(Account.Status status)
status - Status to update the Account withpublic Account execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.