Class LogReader
- java.lang.Object
-
- com.twilio.base.Reader<Log>
-
- com.twilio.rest.serverless.v1.service.environment.LogReader
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<Log>
firstPage(TwilioRestClient client)
Fetch the first page of resources using specified client.Page<Log>
getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page of resources.Page<Log>
nextPage(Page<Log> page, TwilioRestClient client)
Fetch the following page of resources using specified client.Page<Log>
previousPage(Page<Log> page, TwilioRestClient client)
Fetch the prior page of resources using specified client.ResourceSet<Log>
read(TwilioRestClient client)
Execute a request using specified client.LogReader
setEndDate(ZonedDateTime endDate)
LogReader
setFunctionSid(String functionSid)
LogReader
setPageSize(Integer pageSize)
LogReader
setStartDate(ZonedDateTime startDate)
-
-
-
Method Detail
-
setStartDate
public LogReader setStartDate(ZonedDateTime startDate)
-
setEndDate
public LogReader setEndDate(ZonedDateTime endDate)
-
read
public ResourceSet<Log> read(TwilioRestClient client)
Description copied from class:Reader
Execute a request using specified client.
-
firstPage
public Page<Log> firstPage(TwilioRestClient client)
Description copied from class:Reader
Fetch the first page of resources using specified client.
-
previousPage
public Page<Log> previousPage(Page<Log> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the prior page of resources using specified client.- Specified by:
previousPage
in classReader<Log>
- Parameters:
page
- current page of resourcesclient
- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<Log> nextPage(Page<Log> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the following page of resources using specified client.
-
getPage
public Page<Log> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:Reader
Retrieve the target page of resources.
-
-