Class MessagingConfigurationReader
- java.lang.Object
-
- com.twilio.base.Reader<MessagingConfiguration>
-
- com.twilio.rest.verify.v2.service.MessagingConfigurationReader
-
public class MessagingConfigurationReader extends Reader<MessagingConfiguration>
-
-
Constructor Summary
Constructors Constructor Description MessagingConfigurationReader(String pathServiceSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<MessagingConfiguration>
firstPage(TwilioRestClient client)
Fetch the first page of resources using specified client.Page<MessagingConfiguration>
getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page of resources.Page<MessagingConfiguration>
nextPage(Page<MessagingConfiguration> page, TwilioRestClient client)
Fetch the following page of resources using specified client.Page<MessagingConfiguration>
previousPage(Page<MessagingConfiguration> page, TwilioRestClient client)
Fetch the prior page of resources using specified client.ResourceSet<MessagingConfiguration>
read(TwilioRestClient client)
Execute a request using specified client.MessagingConfigurationReader
setPageSize(Integer pageSize)
-
-
-
Constructor Detail
-
MessagingConfigurationReader
public MessagingConfigurationReader(String pathServiceSid)
-
-
Method Detail
-
setPageSize
public MessagingConfigurationReader setPageSize(Integer pageSize)
-
read
public ResourceSet<MessagingConfiguration> read(TwilioRestClient client)
Description copied from class:Reader
Execute a request using specified client.- Specified by:
read
in classReader<MessagingConfiguration>
- Parameters:
client
- client used to make request- Returns:
- ResourceSet of objects
-
firstPage
public Page<MessagingConfiguration> firstPage(TwilioRestClient client)
Description copied from class:Reader
Fetch the first page of resources using specified client.- Specified by:
firstPage
in classReader<MessagingConfiguration>
- Parameters:
client
- client used to fetch- Returns:
- Page containing the first pageSize of resources
-
previousPage
public Page<MessagingConfiguration> previousPage(Page<MessagingConfiguration> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the prior page of resources using specified client.- Specified by:
previousPage
in classReader<MessagingConfiguration>
- Parameters:
page
- current page of resourcesclient
- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<MessagingConfiguration> nextPage(Page<MessagingConfiguration> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the following page of resources using specified client.- Specified by:
nextPage
in classReader<MessagingConfiguration>
- Parameters:
page
- current page of resourcesclient
- client used to fetch- Returns:
- Page containing the next pageSize of resources
-
getPage
public Page<MessagingConfiguration> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:Reader
Retrieve the target page of resources.- Specified by:
getPage
in classReader<MessagingConfiguration>
- Parameters:
targetUrl
- API-generated URL for the requested results pageclient
- client used to fetch- Returns:
- Page containing the target pageSize of resources
-
-