Constructor and Description |
---|
CallReader(String accountSid)
Construct a new CallReader.
|
Modifier and Type | Method and Description |
---|---|
CallReader |
byEndTime(String endTime)
Only show call that ended on this date.
|
CallReader |
byFrom(PhoneNumber from)
Only show calls from this phone number or Client identifier.
|
CallReader |
byParentCallSid(String parentCallSid)
Only show calls spawned by the call with this Sid.
|
CallReader |
byStartTime(String startTime)
Only show calls that started on this date.
|
CallReader |
byStatus(Call.Status status)
Only show calls currently in this status.
|
CallReader |
byTo(PhoneNumber to)
Only show calls to this phone number or Client identifier.
|
ResourceSet<Call> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Call> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Call> |
nextPage(Page<Call> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public CallReader(String accountSid)
accountSid
- The account_sidpublic CallReader byTo(PhoneNumber to)
to
- Phone number or Client identifier to filter `to` onpublic CallReader byFrom(PhoneNumber from)
from
- Phone number or Client identifier to filter `from` onpublic CallReader byParentCallSid(String parentCallSid)
parentCallSid
- Parent Call Sid to filter onpublic CallReader byStatus(Call.Status status)
status
- Status to filter onpublic CallReader byStartTime(String startTime)
startTime
- StartTime to filter onpublic CallReader byEndTime(String endTime)
endTime
- EndTime to filter onpublic ResourceSet<Call> execute(TwilioRestClient client)
public Page<Call> firstPage(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.