public class ParticipantUpdater extends Updater<Participant>
Constructor and Description |
---|
ParticipantUpdater(String conferenceSid,
String callSid)
Construct a new ParticipantUpdater.
|
ParticipantUpdater(String accountSid,
String conferenceSid,
String callSid)
Construct a new ParticipantUpdater.
|
Modifier and Type | Method and Description |
---|---|
Participant |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
ParticipantUpdater |
setHold(Boolean hold)
The hold.
|
ParticipantUpdater |
setHoldMethod(HttpMethod holdMethod)
The hold_method.
|
ParticipantUpdater |
setHoldUrl(String holdUrl)
The hold_url.
|
ParticipantUpdater |
setHoldUrl(URI holdUrl)
The hold_url.
|
ParticipantUpdater |
setMuted(Boolean muted)
Indicates if the participant should be muted.
|
public ParticipantUpdater(String conferenceSid, String callSid)
conferenceSid
- The string that uniquely identifies this conferencecallSid
- The call_sidpublic ParticipantUpdater setMuted(Boolean muted)
muted
- Indicates if the participant should be mutedpublic ParticipantUpdater setHold(Boolean hold)
hold
- The holdpublic ParticipantUpdater setHoldUrl(URI holdUrl)
holdUrl
- The hold_urlpublic ParticipantUpdater setHoldUrl(String holdUrl)
holdUrl
- The hold_urlpublic ParticipantUpdater setHoldMethod(HttpMethod holdMethod)
holdMethod
- The hold_methodpublic Participant execute(TwilioRestClient client)
execute
in class Updater<Participant>
client
- TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.