Constructor and Description |
---|
ChannelUpdater(String pathServiceSid,
String pathSid)
Construct a new ChannelUpdater.
|
Modifier and Type | Method and Description |
---|---|
ChannelUpdater |
setAttributes(String attributes)
The attributes.
|
ChannelUpdater |
setCreatedBy(String createdBy)
The created_by.
|
ChannelUpdater |
setDateCreated(ZonedDateTime dateCreated)
The date_created.
|
ChannelUpdater |
setDateUpdated(ZonedDateTime dateUpdated)
The date_updated.
|
ChannelUpdater |
setFriendlyName(String friendlyName)
The friendly_name.
|
ChannelUpdater |
setUniqueName(String uniqueName)
The unique_name.
|
ChannelUpdater |
setXTwilioWebhookEnabled(Channel.WebhookEnabledType xTwilioWebhookEnabled)
The X-Twilio-Webhook-Enabled HTTP request header.
|
Channel |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public ChannelUpdater setFriendlyName(String friendlyName)
friendlyName
- The friendly_namepublic ChannelUpdater setUniqueName(String uniqueName)
uniqueName
- The unique_namepublic ChannelUpdater setAttributes(String attributes)
attributes
- The attributespublic ChannelUpdater setDateCreated(ZonedDateTime dateCreated)
dateCreated
- The date_createdpublic ChannelUpdater setDateUpdated(ZonedDateTime dateUpdated)
dateUpdated
- The date_updatedpublic ChannelUpdater setCreatedBy(String createdBy)
createdBy
- The created_bypublic ChannelUpdater setXTwilioWebhookEnabled(Channel.WebhookEnabledType xTwilioWebhookEnabled)
xTwilioWebhookEnabled
- The X-Twilio-Webhook-Enabled HTTP request headerpublic Channel update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.