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