Package com.twilio.rest.flexapi.v1
Class FlexFlowReader
- java.lang.Object
-
- com.twilio.base.Reader<FlexFlow>
-
- com.twilio.rest.flexapi.v1.FlexFlowReader
-
-
Constructor Summary
Constructors Constructor Description FlexFlowReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<FlexFlow>firstPage(TwilioRestClient client)Fetch the first page of resources using specified client.TwilioResponse<Page<FlexFlow>>firstPageWithResponse(TwilioRestClient client)Page<FlexFlow>getPage(String targetUrl, TwilioRestClient client)Retrieve the target page of resources.Page<FlexFlow>nextPage(Page<FlexFlow> page, TwilioRestClient client)Fetch the following page of resources using specified client.Page<FlexFlow>previousPage(Page<FlexFlow> page, TwilioRestClient client)Fetch the prior page of resources using specified client.ResourceSet<FlexFlow>read(TwilioRestClient client)Execute a request using specified client.ResourceSetResponse<FlexFlow>readWithResponse(TwilioRestClient client)FlexFlowReadersetFriendlyName(String friendlyName)FlexFlowReadersetPageSize(Long pageSize)-
Methods inherited from class com.twilio.base.Reader
firstPage, getLimit, getPage, getPageSize, limit, nextPage, pageSize, previousPage, read, readAsync, readAsync, readWithResponse
-
-
-
-
Method Detail
-
setFriendlyName
public FlexFlowReader setFriendlyName(String friendlyName)
-
setPageSize
public FlexFlowReader setPageSize(Long pageSize)
-
readWithResponse
public ResourceSetResponse<FlexFlow> readWithResponse(TwilioRestClient client)
- Overrides:
readWithResponsein classReader<FlexFlow>
-
read
public ResourceSet<FlexFlow> read(TwilioRestClient client)
Description copied from class:ReaderExecute a request using specified client.
-
firstPage
public Page<FlexFlow> firstPage(TwilioRestClient client)
Description copied from class:ReaderFetch the first page of resources using specified client.
-
firstPageWithResponse
public TwilioResponse<Page<FlexFlow>> firstPageWithResponse(TwilioRestClient client)
-
previousPage
public Page<FlexFlow> previousPage(Page<FlexFlow> page, TwilioRestClient client)
Description copied from class:ReaderFetch the prior page of resources using specified client.- Specified by:
previousPagein classReader<FlexFlow>- Parameters:
page- current page of resourcesclient- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<FlexFlow> nextPage(Page<FlexFlow> page, TwilioRestClient client)
Description copied from class:ReaderFetch the following page of resources using specified client.
-
getPage
public Page<FlexFlow> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:ReaderRetrieve the target page of resources.
-
-