public class CredentialReader extends Reader<Credential>
Constructor and Description |
---|
CredentialReader() |
Modifier and Type | Method and Description |
---|---|
ResourceSet<Credential> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Credential> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Credential> |
nextPage(Page<Credential> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public ResourceSet<Credential> execute(TwilioRestClient client)
execute
in class Reader<Credential>
client
- TwilioRestClient with which to make the requestpublic Page<Credential> firstPage(TwilioRestClient client)
firstPage
in class Reader<Credential>
client
- TwilioRestClient with which to make the requestpublic Page<Credential> nextPage(Page<Credential> page, TwilioRestClient client)
nextPage
in class Reader<Credential>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.