Package com.twilio.rest.supersim.v1.sim
Class SimIpAddressReader
- java.lang.Object
-
- com.twilio.base.Reader<SimIpAddress>
-
- com.twilio.rest.supersim.v1.sim.SimIpAddressReader
-
public class SimIpAddressReader extends Reader<SimIpAddress>
-
-
Constructor Summary
Constructors Constructor Description SimIpAddressReader(String pathSimSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<SimIpAddress>firstPage(TwilioRestClient client)Fetch the first page of resources using specified client.Page<SimIpAddress>getPage(String targetUrl, TwilioRestClient client)Retrieve the target page of resources.Page<SimIpAddress>nextPage(Page<SimIpAddress> page, TwilioRestClient client)Fetch the following page of resources using specified client.Page<SimIpAddress>previousPage(Page<SimIpAddress> page, TwilioRestClient client)Fetch the prior page of resources using specified client.ResourceSet<SimIpAddress>read(TwilioRestClient client)Execute a request using specified client.SimIpAddressReadersetPageSize(Integer pageSize)
-
-
-
Constructor Detail
-
SimIpAddressReader
public SimIpAddressReader(String pathSimSid)
-
-
Method Detail
-
setPageSize
public SimIpAddressReader setPageSize(Integer pageSize)
-
read
public ResourceSet<SimIpAddress> read(TwilioRestClient client)
Description copied from class:ReaderExecute a request using specified client.- Specified by:
readin classReader<SimIpAddress>- Parameters:
client- client used to make request- Returns:
- ResourceSet of objects
-
firstPage
public Page<SimIpAddress> firstPage(TwilioRestClient client)
Description copied from class:ReaderFetch the first page of resources using specified client.- Specified by:
firstPagein classReader<SimIpAddress>- Parameters:
client- client used to fetch- Returns:
- Page containing the first pageSize of resources
-
previousPage
public Page<SimIpAddress> previousPage(Page<SimIpAddress> page, TwilioRestClient client)
Description copied from class:ReaderFetch the prior page of resources using specified client.- Specified by:
previousPagein classReader<SimIpAddress>- Parameters:
page- current page of resourcesclient- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<SimIpAddress> nextPage(Page<SimIpAddress> page, TwilioRestClient client)
Description copied from class:ReaderFetch the following page of resources using specified client.- Specified by:
nextPagein classReader<SimIpAddress>- Parameters:
page- current page of resourcesclient- client used to fetch- Returns:
- Page containing the next pageSize of resources
-
getPage
public Page<SimIpAddress> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:ReaderRetrieve the target page of resources.- Specified by:
getPagein classReader<SimIpAddress>- Parameters:
targetUrl- API-generated URL for the requested results pageclient- client used to fetch- Returns:
- Page containing the target pageSize of resources
-
-