Constructor and Description |
---|
ChannelUpdater(String pathServiceSid,
String pathSid)
Construct a new ChannelUpdater.
|
Modifier and Type | Method and Description |
---|---|
ChannelUpdater |
setAttributes(String attributes)
A valid JSON string that contains application-specific data..
|
ChannelUpdater |
setCreatedBy(String createdBy)
The `identity` of the User that created the channel.
|
ChannelUpdater |
setDateCreated(org.joda.time.DateTime dateCreated)
The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
format, to assign to the resource as the date it was created.
|
ChannelUpdater |
setDateUpdated(org.joda.time.DateTime dateUpdated)
The date, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
format, to assign to the resource as the date it was last updated..
|
ChannelUpdater |
setFriendlyName(String friendlyName)
A descriptive string that you create to describe the resource.
|
ChannelUpdater |
setUniqueName(String uniqueName)
An application-defined string that uniquely identifies the resource.
|
Channel |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public ChannelUpdater setFriendlyName(String friendlyName)
friendlyName
- A string to describe the resourcepublic ChannelUpdater setUniqueName(String uniqueName)
uniqueName
- An application-defined string that uniquely identifies the
resourcepublic ChannelUpdater setAttributes(String attributes)
attributes
- A valid JSON string that contains application-specific datapublic ChannelUpdater setDateCreated(org.joda.time.DateTime dateCreated)
dateCreated
- The ISO 8601 date and time in GMT when the resource was
createdpublic ChannelUpdater setDateUpdated(org.joda.time.DateTime dateUpdated)
dateUpdated
- The ISO 8601 date and time in GMT when the resource was
updatedpublic ChannelUpdater setCreatedBy(String createdBy)
createdBy
- The identity of the User that created the Channelpublic Channel update(TwilioRestClient client)
Copyright © 2019 Twilio, Inc. All Rights Reserved.