| Constructor and Description |
|---|
IntentReader(String pathServiceSid)
Construct a new IntentReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<Intent> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Intent> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Intent> |
nextPage(Page<Intent> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Intent> |
previousPage(Page<Intent> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Intent> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public IntentReader(String pathServiceSid)
pathServiceSid - The service_sidpublic ResourceSet<Intent> read(TwilioRestClient client)
public Page<Intent> firstPage(TwilioRestClient client)
public Page<Intent> getPage(String targetUrl, TwilioRestClient client)
public Page<Intent> nextPage(Page<Intent> page, TwilioRestClient client)
public Page<Intent> previousPage(Page<Intent> page, TwilioRestClient client)
previousPage in class Reader<Intent>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.