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