Constructor and Description |
---|
QueueReader()
Construct a new QueueReader.
|
QueueReader(String pathAccountSid)
Construct a new QueueReader.
|
Modifier and Type | Method and Description |
---|---|
Page<Queue> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Queue> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Queue> |
nextPage(Page<Queue> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Queue> |
previousPage(Page<Queue> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Queue> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public QueueReader()
public QueueReader(String pathAccountSid)
pathAccountSid
- The SID of the Account that created the resource(s) to
fetchpublic ResourceSet<Queue> read(TwilioRestClient client)
public Page<Queue> firstPage(TwilioRestClient client)
public Page<Queue> getPage(String targetUrl, TwilioRestClient client)
public Page<Queue> nextPage(Page<Queue> page, TwilioRestClient client)
public Page<Queue> previousPage(Page<Queue> page, TwilioRestClient client)
previousPage
in class Reader<Queue>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.