Class HighriskSpecialPrefixReader
- java.lang.Object
-
- com.twilio.base.Reader<HighriskSpecialPrefix>
-
- com.twilio.rest.voice.v1.dialingpermissions.country.HighriskSpecialPrefixReader
-
public class HighriskSpecialPrefixReader extends Reader<HighriskSpecialPrefix>
PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected].
-
-
Constructor Summary
Constructors Constructor Description HighriskSpecialPrefixReader(String pathIsoCode)
Construct a new HighriskSpecialPrefixReader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<HighriskSpecialPrefix>
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.Page<HighriskSpecialPrefix>
getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.Page<HighriskSpecialPrefix>
nextPage(Page<HighriskSpecialPrefix> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.Page<HighriskSpecialPrefix>
previousPage(Page<HighriskSpecialPrefix> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.ResourceSet<HighriskSpecialPrefix>
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
-
-
Constructor Detail
-
HighriskSpecialPrefixReader
public HighriskSpecialPrefixReader(String pathIsoCode)
Construct a new HighriskSpecialPrefixReader.- Parameters:
pathIsoCode
- The ISO 3166-1 country code
-
-
Method Detail
-
read
public ResourceSet<HighriskSpecialPrefix> read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.- Specified by:
read
in classReader<HighriskSpecialPrefix>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- HighriskSpecialPrefix ResourceSet
-
firstPage
public Page<HighriskSpecialPrefix> firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.- Specified by:
firstPage
in classReader<HighriskSpecialPrefix>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- HighriskSpecialPrefix ResourceSet
-
getPage
public Page<HighriskSpecialPrefix> getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.- Specified by:
getPage
in classReader<HighriskSpecialPrefix>
- Parameters:
targetUrl
- API-generated URL for the requested results pageclient
- TwilioRestClient with which to make the request- Returns:
- HighriskSpecialPrefix ResourceSet
-
nextPage
public Page<HighriskSpecialPrefix> nextPage(Page<HighriskSpecialPrefix> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.- Specified by:
nextPage
in classReader<HighriskSpecialPrefix>
- Parameters:
page
- current pageclient
- TwilioRestClient with which to make the request- Returns:
- Next Page
-
previousPage
public Page<HighriskSpecialPrefix> previousPage(Page<HighriskSpecialPrefix> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.- Specified by:
previousPage
in classReader<HighriskSpecialPrefix>
- Parameters:
page
- current pageclient
- TwilioRestClient with which to make the request- Returns:
- Previous Page
-
-