public class ConferenceUpdater extends Updater<Conference>
Constructor and Description |
---|
ConferenceUpdater(String pathSid)
Construct a new ConferenceUpdater.
|
ConferenceUpdater(String pathAccountSid,
String pathSid)
Construct a new ConferenceUpdater.
|
Modifier and Type | Method and Description |
---|---|
ConferenceUpdater |
setAnnounceMethod(HttpMethod announceMethod)
The HTTP method used to call `announce_url`.
|
ConferenceUpdater |
setAnnounceUrl(String announceUrl)
The URL we should call to announce something into the conference.
|
ConferenceUpdater |
setAnnounceUrl(URI announceUrl)
The URL we should call to announce something into the conference.
|
ConferenceUpdater |
setStatus(Conference.UpdateStatus status)
The new status of the resource.
|
Conference |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsync
public ConferenceUpdater(String pathSid)
pathSid
- The unique string that identifies this resourcepublic ConferenceUpdater setStatus(Conference.UpdateStatus status)
status
- The new status of the resourcepublic ConferenceUpdater setAnnounceUrl(URI announceUrl)
announceUrl
- The URL we should call to announce something into the
conferencepublic ConferenceUpdater setAnnounceUrl(String announceUrl)
announceUrl
- The URL we should call to announce something into the
conferencepublic ConferenceUpdater setAnnounceMethod(HttpMethod announceMethod)
announceMethod
- he HTTP method used to call announce_urlpublic Conference update(TwilioRestClient client)
update
in class Updater<Conference>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.