public class ConferenceReader extends Reader<Conference>
Constructor and Description |
---|
ConferenceReader(String accountSid)
Construct a new ConferenceReader.
|
Modifier and Type | Method and Description |
---|---|
ConferenceReader |
byDateCreated(String dateCreated)
Only show conferences that started on this date, given as YYYY-MM-DD.
|
ConferenceReader |
byDateUpdated(String dateUpdated)
Only show conferences that were last updated on this date, given as
YYYY-MM-DD.
|
ConferenceReader |
byFriendlyName(String friendlyName)
Only show results who's friendly name exactly matches the string.
|
ConferenceReader |
byStatus(Conference.Status status)
A string representing the status of the conference.
|
ResourceSet<Conference> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Conference> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Conference> |
nextPage(Page<Conference> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public ConferenceReader(String accountSid)
accountSid
- The account_sidpublic ConferenceReader byDateCreated(String dateCreated)
dateCreated
- Filter by date createdpublic ConferenceReader byDateUpdated(String dateUpdated)
dateUpdated
- Filter by date updatedpublic ConferenceReader byFriendlyName(String friendlyName)
friendlyName
- Filter by friendly namepublic ConferenceReader byStatus(Conference.Status status)
status
- The status of the conferencepublic ResourceSet<Conference> execute(TwilioRestClient client)
execute
in class Reader<Conference>
client
- TwilioRestClient with which to make the requestpublic Page<Conference> firstPage(TwilioRestClient client)
firstPage
in class Reader<Conference>
client
- TwilioRestClient with which to make the requestpublic Page<Conference> nextPage(Page<Conference> page, TwilioRestClient client)
nextPage
in class Reader<Conference>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.