Constructor and Description |
---|
CommandReader() |
Modifier and Type | Method and Description |
---|---|
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.
|
ResourceSet<Command> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
CommandReader |
setDevice(String device)
The device.
|
CommandReader |
setDirection(String direction)
The direction.
|
CommandReader |
setSim(String sim)
The sim.
|
CommandReader |
setStatus(String status)
The status.
|
public CommandReader setDevice(String device)
device
- The devicepublic CommandReader setSim(String sim)
sim
- The simpublic CommandReader setStatus(String status)
status
- The statuspublic CommandReader setDirection(String direction)
direction
- The directionpublic ResourceSet<Command> read(TwilioRestClient client)
public Page<Command> firstPage(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.