public class ParticipantUpdater extends Updater<Participant>
| Constructor and Description |
|---|
ParticipantUpdater(String pathServiceSid,
String pathSessionSid,
String pathSid)
Construct a new ParticipantUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
ParticipantUpdater |
setFriendlyName(String friendlyName)
A human readable description of this resource, up to 64 characters..
|
ParticipantUpdater |
setIdentifier(String identifier)
The Participant's contact identifier, normally a phone number..
|
ParticipantUpdater |
setParticipantType(Participant.ParticipantType participantType)
The Type of this Participant.
|
Participant |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic ParticipantUpdater setParticipantType(Participant.ParticipantType participantType)
participantType - The Type of this Participantpublic ParticipantUpdater setIdentifier(String identifier)
identifier - The Participant's contact identifier, normally a phone
number.public ParticipantUpdater setFriendlyName(String friendlyName)
friendlyName - A human readable description of this resourcepublic Participant update(TwilioRestClient client)
update in class Updater<Participant>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.