Constructor and Description |
---|
AccountUpdater()
Construct a new AccountUpdater.
|
AccountUpdater(String pathSid)
Construct a new AccountUpdater.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Account |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public AccountUpdater()
public AccountUpdater(String pathSid)
pathSid
- The sidpublic AccountUpdater setFriendlyName(String friendlyName)
friendlyName
- FriendlyName to updatepublic AccountUpdater setStatus(Account.Status status)
status
- Status to update the Account withpublic Account update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.