Class MessagingConfigurationReader
- java.lang.Object
-
- com.twilio.base.Reader<MessagingConfiguration>
-
- com.twilio.rest.verify.v2.service.MessagingConfigurationReader
-
public class MessagingConfigurationReader extends Reader<MessagingConfiguration>
PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
-
-
Constructor Summary
Constructors Constructor Description MessagingConfigurationReader(String pathServiceSid)
Construct a new MessagingConfigurationReader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<MessagingConfiguration>
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.Page<MessagingConfiguration>
getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.Page<MessagingConfiguration>
nextPage(Page<MessagingConfiguration> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.Page<MessagingConfiguration>
previousPage(Page<MessagingConfiguration> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.ResourceSet<MessagingConfiguration>
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
-
-
-
Constructor Detail
-
MessagingConfigurationReader
public MessagingConfigurationReader(String pathServiceSid)
Construct a new MessagingConfigurationReader.- Parameters:
pathServiceSid
- The SID of the Service that the resource is associated with
-
-
Method Detail
-
read
public ResourceSet<MessagingConfiguration> read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.- Specified by:
read
in classReader<MessagingConfiguration>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- MessagingConfiguration ResourceSet
-
firstPage
public Page<MessagingConfiguration> firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.- Specified by:
firstPage
in classReader<MessagingConfiguration>
- Parameters:
client
- TwilioRestClient with which to make the request- Returns:
- MessagingConfiguration ResourceSet
-
getPage
public Page<MessagingConfiguration> getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page from the Twilio API.- Specified by:
getPage
in classReader<MessagingConfiguration>
- Parameters:
targetUrl
- API-generated URL for the requested results pageclient
- TwilioRestClient with which to make the request- Returns:
- MessagingConfiguration ResourceSet
-
nextPage
public Page<MessagingConfiguration> nextPage(Page<MessagingConfiguration> page, TwilioRestClient client)
Retrieve the next page from the Twilio API.- Specified by:
nextPage
in classReader<MessagingConfiguration>
- Parameters:
page
- current pageclient
- TwilioRestClient with which to make the request- Returns:
- Next Page
-
previousPage
public Page<MessagingConfiguration> previousPage(Page<MessagingConfiguration> page, TwilioRestClient client)
Retrieve the previous page from the Twilio API.- Specified by:
previousPage
in classReader<MessagingConfiguration>
- Parameters:
page
- current pageclient
- TwilioRestClient with which to make the request- Returns:
- Previous Page
-
-