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