Constructor and Description |
---|
AccountReader() |
Modifier and Type | Method and Description |
---|---|
AccountReader |
byFriendlyName(String friendlyName)
Filter accounts where the friendly name exactly matches the desired
FriendlyName.
|
AccountReader |
byStatus(Account.Status status)
Only show accounts with the given Status.
|
ResourceSet<Account> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Account> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Account> |
nextPage(Page<Account> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public AccountReader byFriendlyName(String friendlyName)
friendlyName
- FriendlyName to filter onpublic AccountReader byStatus(Account.Status status)
status
- Status to filter onpublic ResourceSet<Account> execute(TwilioRestClient client)
public Page<Account> firstPage(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.