public class UserBindingReader extends Reader<UserBinding>
| Constructor and Description |
|---|
UserBindingReader(String pathServiceSid,
String pathIdentity)
Construct a new UserBindingReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<UserBinding> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<UserBinding> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<UserBinding> |
nextPage(Page<UserBinding> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<UserBinding> |
previousPage(Page<UserBinding> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<UserBinding> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
UserBindingReader |
setEndDate(org.joda.time.LocalDate endDate)
The end_date.
|
UserBindingReader |
setStartDate(org.joda.time.LocalDate startDate)
The start_date.
|
UserBindingReader |
setTag(List<String> tag)
The tag.
|
UserBindingReader |
setTag(String tag)
The tag.
|
public UserBindingReader setStartDate(org.joda.time.LocalDate startDate)
startDate - The start_datepublic UserBindingReader setEndDate(org.joda.time.LocalDate endDate)
endDate - The end_datepublic UserBindingReader setTag(List<String> tag)
tag - The tagpublic UserBindingReader setTag(String tag)
tag - The tagpublic ResourceSet<UserBinding> read(TwilioRestClient client)
read in class Reader<UserBinding>client - TwilioRestClient with which to make the requestpublic Page<UserBinding> firstPage(TwilioRestClient client)
firstPage in class Reader<UserBinding>client - TwilioRestClient with which to make the requestpublic Page<UserBinding> getPage(String targetUrl, TwilioRestClient client)
getPage in class Reader<UserBinding>targetUrl - API-generated URL for the requested results pageclient - TwilioRestClient with which to make the requestpublic Page<UserBinding> nextPage(Page<UserBinding> page, TwilioRestClient client)
nextPage in class Reader<UserBinding>page - current pageclient - TwilioRestClient with which to make the requestpublic Page<UserBinding> previousPage(Page<UserBinding> page, TwilioRestClient client)
previousPage in class Reader<UserBinding>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.