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