| Constructor and Description |
|---|
FaxReader() |
| Modifier and Type | Method and Description |
|---|---|
Page<Fax> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Fax> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Fax> |
nextPage(Page<Fax> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Fax> |
previousPage(Page<Fax> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Fax> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
FaxReader |
setDateCreatedAfter(org.joda.time.DateTime dateCreatedAfter)
Filters the returned list to only include faxes created after the supplied
date, given in ISO 8601 format..
|
FaxReader |
setDateCreatedOnOrBefore(org.joda.time.DateTime dateCreatedOnOrBefore)
Filters the returned list to only include faxes created on or before the
supplied date, given in ISO 8601 format..
|
FaxReader |
setFrom(String from)
Filters the returned list to only include faxes sent from the supplied
number, given in E.164 format..
|
FaxReader |
setTo(String to)
Filters the returned list to only include faxes sent to the supplied number,
given in E.164 format..
|
public FaxReader setFrom(String from)
from - Include only faxes sent frompublic FaxReader setTo(String to)
to - Include only faxes sent topublic FaxReader setDateCreatedOnOrBefore(org.joda.time.DateTime dateCreatedOnOrBefore)
dateCreatedOnOrBefore - Include only faxes created on or beforepublic FaxReader setDateCreatedAfter(org.joda.time.DateTime dateCreatedAfter)
dateCreatedAfter - Include only faxes created afterpublic ResourceSet<Fax> read(TwilioRestClient client)
public Page<Fax> firstPage(TwilioRestClient client)
public Page<Fax> getPage(String targetUrl, TwilioRestClient client)
public Page<Fax> nextPage(Page<Fax> page, TwilioRestClient client)
public Page<Fax> previousPage(Page<Fax> page, TwilioRestClient client)
previousPage in class Reader<Fax>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.