| Constructor and Description |
|---|
RecordReader(String accountSid)
Construct a new RecordReader.
|
| Modifier and Type | Method and Description |
|---|---|
RecordReader |
byCategory(Record.Category category)
Only include usage of a given category.
|
RecordReader |
byEndDate(String endDate)
Only include usage that has occurred on or after this date.
|
RecordReader |
byStartDate(String startDate)
Only include usage that has occurred on or after this date.
|
ResourceSet<Record> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Record> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Record> |
nextPage(Page<Record> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public RecordReader(String accountSid)
accountSid - The account_sidpublic RecordReader byCategory(Record.Category category)
category - Only include usage of a given categorypublic RecordReader byStartDate(String startDate)
startDate - Filter by start datepublic RecordReader byEndDate(String endDate)
endDate - Filter by end datepublic ResourceSet<Record> execute(TwilioRestClient client)
public Page<Record> firstPage(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.