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