Constructor and Description |
---|
MessageUpdater(String pathServiceSid,
String pathChannelSid,
String pathSid)
Construct a new MessageUpdater.
|
Modifier and Type | Method and Description |
---|---|
MessageUpdater |
setAttributes(String attributes)
The attributes.
|
MessageUpdater |
setBody(String body)
The body.
|
MessageUpdater |
setDateCreated(org.joda.time.DateTime dateCreated)
The date_created.
|
MessageUpdater |
setDateUpdated(org.joda.time.DateTime dateUpdated)
The date_updated.
|
MessageUpdater |
setLastUpdatedBy(String lastUpdatedBy)
The last_updated_by.
|
Message |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public MessageUpdater setBody(String body)
body
- The bodypublic MessageUpdater setAttributes(String attributes)
attributes
- The attributespublic MessageUpdater setDateCreated(org.joda.time.DateTime dateCreated)
dateCreated
- The date_createdpublic MessageUpdater setDateUpdated(org.joda.time.DateTime dateUpdated)
dateUpdated
- The date_updatedpublic MessageUpdater setLastUpdatedBy(String lastUpdatedBy)
lastUpdatedBy
- The last_updated_bypublic Message update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.