| Constructor and Description |
|---|
SessionUpdater(String pathServiceSid,
String pathSid)
Construct a new SessionUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
SessionUpdater |
setDateExpiry(org.joda.time.DateTime dateExpiry)
The date that this Session was expiry, given in ISO 8601 format..
|
SessionUpdater |
setMode(Session.Mode mode)
The Mode of this Session.
|
SessionUpdater |
setParticipants(List<Map<String,Object>> participants)
A list of phone numbers to add to this Session..
|
SessionUpdater |
setParticipants(Map<String,Object> participants)
A list of phone numbers to add to this Session..
|
SessionUpdater |
setStatus(Session.Status status)
The Status of this Session.
|
SessionUpdater |
setTtl(Integer ttl)
The Time to Live for a Session, in seconds..
|
SessionUpdater |
setUniqueName(String uniqueName)
Provides a unique and addressable name to be assigned to this Session,
assigned by the developer, to be optionally used in addition to SID..
|
Session |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic SessionUpdater setUniqueName(String uniqueName)
uniqueName - A unique, developer assigned name of this Session.public SessionUpdater setDateExpiry(org.joda.time.DateTime dateExpiry)
dateExpiry - The date this Session was expirypublic SessionUpdater setTtl(Integer ttl)
ttl - TTL for a Session, in seconds.public SessionUpdater setMode(Session.Mode mode)
mode - The Mode of this Sessionpublic SessionUpdater setStatus(Session.Status status)
status - The Status of this Sessionpublic SessionUpdater setParticipants(List<Map<String,Object>> participants)
participants - A list of phone numbers to add to this Session.public SessionUpdater setParticipants(Map<String,Object> participants)
participants - A list of phone numbers to add to this Session.public Session update(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.