public class ConferenceReader extends Reader<Conference>
Constructor and Description |
---|
ConferenceReader()
Construct a new ConferenceReader.
|
ConferenceReader(String pathAccountSid)
Construct a new ConferenceReader.
|
Modifier and Type | Method and Description |
---|---|
Page<Conference> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Conference> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Conference> |
nextPage(Page<Conference> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Conference> |
previousPage(Page<Conference> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Conference> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
ConferenceReader |
setDateCreated(LocalDate dateCreated)
The `date_created` value, specified as `YYYY-MM-DD`, of the resources to
read.
|
ConferenceReader |
setDateCreatedAfter(LocalDate dateCreatedAfter)
The `date_created` value, specified as `YYYY-MM-DD`, of the resources to
read.
|
ConferenceReader |
setDateCreatedBefore(LocalDate dateCreatedBefore)
The `date_created` value, specified as `YYYY-MM-DD`, of the resources to
read.
|
ConferenceReader |
setDateUpdated(LocalDate dateUpdated)
The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to
read.
|
ConferenceReader |
setDateUpdatedAfter(LocalDate dateUpdatedAfter)
The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to
read.
|
ConferenceReader |
setDateUpdatedBefore(LocalDate dateUpdatedBefore)
The `date_updated` value, specified as `YYYY-MM-DD`, of the resources to
read.
|
ConferenceReader |
setFriendlyName(String friendlyName)
The string that identifies the Conference resources to read..
|
ConferenceReader |
setStatus(Conference.Status status)
The status of the resources to read.
|
public ConferenceReader()
public ConferenceReader(String pathAccountSid)
pathAccountSid
- The SID of the Account that created the resource(s) to
readpublic ConferenceReader setDateCreated(LocalDate dateCreated)
dateCreated
- The `YYYY-MM-DD` value of the resources to readpublic ConferenceReader setDateCreatedBefore(LocalDate dateCreatedBefore)
dateCreatedBefore
- The `YYYY-MM-DD` value of the resources to readpublic ConferenceReader setDateCreatedAfter(LocalDate dateCreatedAfter)
dateCreatedAfter
- The `YYYY-MM-DD` value of the resources to readpublic ConferenceReader setDateUpdated(LocalDate dateUpdated)
dateUpdated
- The `YYYY-MM-DD` value of the resources to readpublic ConferenceReader setDateUpdatedBefore(LocalDate dateUpdatedBefore)
dateUpdatedBefore
- The `YYYY-MM-DD` value of the resources to readpublic ConferenceReader setDateUpdatedAfter(LocalDate dateUpdatedAfter)
dateUpdatedAfter
- The `YYYY-MM-DD` value of the resources to readpublic ConferenceReader setFriendlyName(String friendlyName)
friendlyName
- The string that identifies the Conference resources to
readpublic ConferenceReader setStatus(Conference.Status status)
status
- The status of the resources to readpublic ResourceSet<Conference> read(TwilioRestClient client)
read
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> getPage(String targetUrl, TwilioRestClient client)
getPage
in class Reader<Conference>
targetUrl
- API-generated URL for the requested results pageclient
- 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 requestpublic Page<Conference> previousPage(Page<Conference> page, TwilioRestClient client)
previousPage
in class Reader<Conference>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.