Package com.twilio.rest.trunking.v1
Class TrunkReader
- java.lang.Object
-
- com.twilio.base.Reader<Trunk>
-
- com.twilio.rest.trunking.v1.TrunkReader
-
-
Constructor Summary
Constructors Constructor Description TrunkReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<Trunk>
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.Page<Trunk>
getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.Page<Trunk>
nextPage(Page<Trunk> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.Page<Trunk>
previousPage(Page<Trunk> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.ResourceSet<Trunk>
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
-
-
Method Detail
-
read
public ResourceSet<Trunk> read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
firstPage
public Page<Trunk> firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
getPage
public Page<Trunk> getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.
-
nextPage
public Page<Trunk> nextPage(Page<Trunk> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.
-
previousPage
public Page<Trunk> previousPage(Page<Trunk> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.- Specified by:
previousPage
in classReader<Trunk>
- Parameters:
page
- current pageclient
- TwilioRestClient with which to make the request- Returns:
- Previous Page
-
-