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