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