| Constructor and Description |
|---|
ChannelUpdater(String serviceSid,
String sid)
Construct a new ChannelUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
Channel |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
ChannelUpdater |
setAttributes(com.fasterxml.jackson.databind.JsonNode attributes)
The attributes.
|
ChannelUpdater |
setFriendlyName(String friendlyName)
The friendly_name.
|
ChannelUpdater |
setType(Channel.ChannelType type)
The type.
|
ChannelUpdater |
setUniqueName(String uniqueName)
The unique_name.
|
public ChannelUpdater setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic ChannelUpdater setUniqueName(String uniqueName)
uniqueName - The unique_namepublic ChannelUpdater setAttributes(com.fasterxml.jackson.databind.JsonNode attributes)
attributes - The attributespublic ChannelUpdater setType(Channel.ChannelType type)
type - The typepublic Channel execute(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.