public class UserBindingReader extends Reader<UserBinding>
| Constructor and Description |
|---|
UserBindingReader(String pathServiceSid,
String pathUserSid)
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 |
setBindingType(List<UserBinding.BindingType> bindingType)
The binding_type.
|
UserBindingReader |
setBindingType(UserBinding.BindingType bindingType)
The binding_type.
|
public UserBindingReader setBindingType(List<UserBinding.BindingType> bindingType)
bindingType - The binding_typepublic UserBindingReader setBindingType(UserBinding.BindingType bindingType)
bindingType - The binding_typepublic 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.