Constructor and Description |
---|
CommandReader() |
Modifier and Type | Method and Description |
---|---|
CommandReader |
byDevice(String device)
The device.
|
CommandReader |
byDirection(String direction)
The direction.
|
CommandReader |
byStatus(String status)
The status.
|
ResourceSet<Command> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Command> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Command> |
nextPage(Page<Command> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public CommandReader byDevice(String device)
device
- The devicepublic CommandReader byStatus(String status)
status
- The statuspublic CommandReader byDirection(String direction)
direction
- The directionpublic ResourceSet<Command> execute(TwilioRestClient client)
public Page<Command> firstPage(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.